forked from gergely/calendar-social
Make locked profiles display a lock icon instead of the text “locked”
This involves adding [ForkAwesome](https://forkawesome.github.io/) to the dependencies, even though it is pulled in via a CDN.
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
{% block content %}
|
||||
<h1>
|
||||
{% if profile.locked %}
|
||||
[locked]
|
||||
<i class="fa fa-lock" aria-hidden="true" title="{% trans %}locked profile{% endtrans %}"></i>
|
||||
<span class="sr-only">{% trans %}locked profile{% endtrans %}</span>
|
||||
{% endif %}
|
||||
{{ profile.display_name }}
|
||||
<small>@{{ profile.user.username}}</small>
|
||||
|
Reference in New Issue
Block a user