Explorar el Código

You mustn't be able to like your seum

Denis Merigoux hace 9 años
padre
commit
6ab3e7eb39
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      counter/templates/homeTemplate.html

+ 4 - 0
counter/templates/homeTemplate.html

@@ -104,6 +104,10 @@
104 104
 							<span class="pull-right badge">
105 105
 								<span class="glyphicon glyphicon-ok" />&nbsp;{{ counter.likeCount }}
106 106
 							</span>
107
+							{% elif counter.id == myCounter.id %}
108
+			                <span class="pull-right badge">
109
+			                    <span class="glyphicon glyphicon-fire" />&nbsp;{{ counter.likeCount }}
110
+			                </span>
107 111
 							{% else %}
108 112
 							<a class="pull-right badge" onclick="document.forms['like{{counter.id}}'].submit();">
109 113
 								<span class="glyphicon glyphicon-fire" />&nbsp;{{ counter.likeCount }}