File tree Expand file tree Collapse file tree
styles/prosilver/template Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,6 +242,7 @@ public function show_idea($event)
242242 'S_CAN_VOTE ' => $ can_vote ,
243243 'S_CAN_VOTE_UP ' => $ can_vote && !$ s_voted_up ,
244244 'S_CAN_VOTE_DOWN ' => $ can_vote && !$ s_voted_down ,
245+ 'S_VOTED ' => $ s_voted_up || $ s_voted_down ,
245246 'S_VOTED_UP ' => $ s_voted_up ,
246247 'S_VOTED_DOWN ' => $ s_voted_down ,
247248
Original file line number Diff line number Diff line change 3939 </ span >
4040 </ li >
4141 {% if S_CAN_VOTE %}
42- < li id ="vote-remove "{% if not S_VOTED_UP and not S_VOTED_DOWN %} class ="hidden "{% endif %} >
42+ < li id ="vote-remove "{% if S_VOTED == false %} class ="hidden "{% endif %} >
4343 < i class ="icon icon-tiny fa-fw fa-times "> </ i > < a href ="{{ U_REMOVE_VOTE }} " class ="removevote " data-l-err ="{{ lang('ERROR') }} " data-l-msg ="{{ lang('VOTE_ERROR') ~ lang('COLON') }} "> {{ lang('REMOVE_VOTE') }}</ a >
4444 </ li >
4545 {% endif %}
You can’t perform that action at this time.
0 commit comments