summaryrefslogtreecommitdiffstats
path: root/apps/it/templates/view_issue.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-02-24 19:31:23 +0200
committerFilipp Lepalaan <f@230.to>2014-02-24 19:31:23 +0200
commit615f73881baf3ae7837ee23467998875a944177f (patch)
tree655a01e7c2131a8ee6be71af790ea2f895374668 /apps/it/templates/view_issue.html
parent993f654f7e3334b235391a8d1f779c3e715a610d (diff)
downloadpudding-615f73881baf3ae7837ee23467998875a944177f.tar.gz
pudding-615f73881baf3ae7837ee23467998875a944177f.tar.bz2
pudding-615f73881baf3ae7837ee23467998875a944177f.zip
Better
Diffstat (limited to 'apps/it/templates/view_issue.html')
-rw-r--r--apps/it/templates/view_issue.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/it/templates/view_issue.html b/apps/it/templates/view_issue.html
index b60afb2..e8adb8e 100644
--- a/apps/it/templates/view_issue.html
+++ b/apps/it/templates/view_issue.html
@@ -51,7 +51,7 @@
{% endblock main %}
{% block inspector %}
-{% if 1 %}
+{% if request.user in issue.users.all %}
<a class="btn btn-sm btn-default btn-primary active" href="{% url 'metoo' issue.pk 1 %}">{% bootstrap_icon "star" %} {% trans "Me too!" %}</a>
{% else %}
<a class="btn btn-sm btn-default btn-primary" href="{% url 'metoo' issue.pk 1 %}">{% bootstrap_icon "star" %} {% trans "Me too!" %}</a>