OpenSource-Tools / LiquidVoting

1 stars 0 forks source link

Replace <img> in index-page #35

Closed kvdmolen closed 9 years ago

kvdmolen commented 9 years ago

Replace the green thumbs-up image <img alt="supporter" ..> with <i class="fa fa-thumbs-up tooltip"><span><span>{{You are subscribed}}</span></span></i> (use text from translations-file)

<span class="initiative_name">
  <a href="../initiative/show/17.html">this is the initiative</a>
  <img alt="supporter" src="../static/icons/32/support_satisfied.png" title="supporter" class="icon16">
</span>
nktc commented 9 years ago

Complete, tested with https://github.com/Socioneers/LiquidVoting/blob/master/frontend/locale/translations.de.lua#L978.

German is a bit easier on my American eyes :) :)

kvdmolen commented 9 years ago

You forgot to add .tootltip class to the <i class="fa fa-thumbs-up">

Good to see you are in control of the language! Indeed it works nicely :)

nktc commented 9 years ago

Added, thanks.

kvdmolen commented 9 years ago

My bad, please use the text _("You are supporter") here..

https://github.com/Socioneers/LiquidVoting/blob/master/frontend/locale/translations.ka.lua#L693

nktc commented 9 years ago

Added.