Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge db7cccf into 6e851d1
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed Jun 29, 2015
2 parents 6e851d1 + db7cccf commit f8468a5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -50,7 +50,7 @@
<br/><a class="dashboard-ban-ip-link" href="{{ ban_ip_url }}" target="_blank">{{ _('Ban IP from Editing') }}</a>
</span>
{% endif %}
{% if request.user.is_superuser and revision.creator.profile.is_banned %}
{% if request.user.is_superuser and revision.creator.profile and revision.creator.profile.is_banned %}
{% set active_ban = revision.creator.profile.active_ban() %}
<div class="banned">
banned {{ datetimeformat(active_ban.date, format='date') }}
Expand Down

0 comments on commit f8468a5

Please sign in to comment.