Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Show no-restart badges (bug 638482)
  • Loading branch information
potch committed Mar 10, 2011
1 parent 0f65996 commit 0b44137
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/addons/templates/addons/mobile/button.html
Expand Up @@ -35,9 +35,11 @@
{% if settings.PERF_THRESHOLD and addon.ts_slowness >= settings.PERF_THRESHOLD %}
<li class="warning">{{ _('May Slow Down Your Browser') }}</li>
{% endif %}
{% if files and files[0].no_restart %}
<li>{{ _('No Restart Required') }}</li>
{% endif %}
{% with files = addon.current_version.all_files %}
{% if files and files[0].no_restart %}
<li>{{ _('No Restart Required') }}</li>
{% endif %}
{% endwith %}
</ul>
{% if addon.privacy_policy %}
<a class="privacy-policy" href="{{ url('addons.privacy', addon.slug) }}">
Expand Down

0 comments on commit 0b44137

Please sign in to comment.