mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-21 13:18:53 +00:00
Only show up/down voters if present
This commit is contained in:
parent
5852e29e0e
commit
c29140e74e
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<!-- Habits -->
|
||||
<% if (habit_type==1) { %>
|
||||
<a href="#" class="vote-up"><img src="assets/add.png" /></a>
|
||||
<a href="#" class="vote-down"><img src="assets/remove.png" /></a>
|
||||
<% if (up) { %> <a href="#" class="vote-up"><img src="assets/add.png" /></a> <% } %>
|
||||
<% if (down) { %> <a href="#" class="vote-down"><img src="assets/remove.png" /></a> <% } %>
|
||||
|
||||
<!-- Rewards -->
|
||||
<% } else if (habit_type==4) { %>
|
||||
|
|
|
|||
Loading…
Reference in a new issue