Skip to content
Browse files

currently you cannot resolve exceptions unless you're authenticated

  • Loading branch information...
1 parent 7c6db90 commit a53680e8feb96459686dabb7fed54f87ed1c255b @dcramer dcramer committed Sep 18, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/sentry/templates/sentry/partial/_group.html
View
14 src/sentry/templates/sentry/partial/_group.html
@@ -32,14 +32,14 @@
</div>
<span class="sparkline" sparkwidth="100" sparkheight="40" sparklineColor="#ccc" sparkfillColor="false" sparkspotRadius="0"><!-- {{ metadata.historical_data }} --></span>
<ul class="actions">
- <li>
- {% if group.status == 0 %}
- <a href="javascript:void(0)" class="tip" onclick="Sentry.stream.resolve('{{ group.project.slug }}', {{ group.id|safe }}, this);" rel="tooltip" title="{% trans "Mark as Resolved" %}">&#10003;</a>
- {% else %}
- <a href="javascript:void(0)" class="tip checked" rel="tooltip" title="{% trans "Already Resolved" %}">&#10003;</a>
- {% endif %}
- </li>
{% if request.user.is_authenticated %}
+ <li>
+ {% if group.status == 0 %}
+ <a href="javascript:void(0)" class="tip" onclick="Sentry.stream.resolve('{{ group.project.slug }}', {{ group.id|safe }}, this);" rel="tooltip" title="{% trans "Mark as Resolved" %}">&#10003;</a>
+ {% else %}
+ <a href="javascript:void(0)" class="tip checked" rel="tooltip" title="{% trans "Already Resolved" %}">&#10003;</a>
+ {% endif %}
+ </li>
<li><a href="javascript:void(0)" onclick="Sentry.stream.bookmark('{{ group.project.slug }}', {{ group.id|safe }}, this);" class="tip bookmark{% if metadata.is_bookmarked %} checked{% endif %}" rel="tooltip" title="{% trans "Bookmark" %}">&#9733;</a></li>
{% endif %}
</ul>

0 comments on commit a53680e

Please sign in to comment.
Something went wrong with that request. Please try again.