Commit 97468cecb6fd42ca71a4a9da08c49be7f4e31396
1 parent
4e00e7c5
Exists in
master
and in
39 other branches
Removing text from vote button
Showing
1 changed file
with
0 additions
and
9 deletions
Show diff stats
src/super_archives/templates/message-thread.html
... | ... | @@ -20,14 +20,12 @@ |
20 | 20 | $btn.bind('click', function() { |
21 | 21 | vote(msg_id); |
22 | 22 | }); |
23 | - $('.text', $btn).text("{% trans 'Vote' %}"); | |
24 | 23 | } else { |
25 | 24 | var $btn = $('.vote.btn-default', $msg); |
26 | 25 | $btn.unbind('click'); |
27 | 26 | $btn.bind('click', function() { |
28 | 27 | unvote(msg_id); |
29 | 28 | }); |
30 | - $('.text', $btn).text("{% trans 'Voted' %}"); | |
31 | 29 | } |
32 | 30 | $btn.toggleClass('btn-success'); |
33 | 31 | $btn.toggleClass('btn-default'); |
... | ... | @@ -164,13 +162,6 @@ |
164 | 162 | <button class="btn btn-default vote"> |
165 | 163 | {% endif %} |
166 | 164 | <span class="glyphicon glyphicon-thumbs-up"></span> |
167 | - <span class="text"> | |
168 | - {% if user in email.vote_list %} | |
169 | - {% trans "Voted" %} | |
170 | - {% else %} | |
171 | - {% trans "Vote" %} | |
172 | - {% endif %} | |
173 | - </span> | |
174 | 165 | </button> |
175 | 166 | </div> |
176 | 167 | </div> | ... | ... |