12345678910111213141516171819202122232425262728293031323334353637383940 |
- {% load i18n misago_capture %}
- {% if state.is_banned %}
- <span class="fa fa-lock fa-fw user-banned"></span>
- {% if state.banned_until %}
- {% blocktrans trimmed with ban_date=state.banned_until|date %}
- Banned until {{ ban_date }}
- {% endblocktrans %}
- {% else %}
- {% trans "Banned" %}
- {% endif %}
- {% elif state.is_hidden %}
- <span class="fa fa-circle-o fa-fw user-offline"></span>
- {% trans "Hides activity" %}
- {% elif state.is_online_hidden %}
- <span class="fa fa-circle fa-fw user-online"></span>
- {% trans "Online, hidden" %}
- {% elif state.is_offline_hidden %}
- {% capture trimmed as last_seen %}
- <abbr class="tooltip-top dynamic time-ago" title="{{ state.last_click }}" data-timestamp="{{ state.last_click|date:"c" }}">
- {{ state.last_click|date }}
- </abbr>
- {% endcapture %%}
- <span class="fa fa-circle-o fa-fw user-offline"></span>
- {% blocktrans trimmed with last_seen=last_seen|safe %}
- Seen {{ last_seen }}, hidden
- {% endblocktrans %}
- {% elif state.is_online %}
- <span class="fa fa-circle fa-fw user-online"></span>
- {% trans "Online" %}
- {% elif state.is_offline %}
- {% capture trimmed as last_seen %}
- <abbr class="tooltip-top dynamic time-ago" title="{{ state.last_click }}" data-timestamp="{{ state.last_click|date:"c" }}">
- {{ state.last_click|date }}
- </abbr>
- {% endcapture %%}
- <span class="fa fa-circle-o fa-fw user-offline"></span>
- {% blocktrans trimmed with last_seen=last_seen|safe %}
- Seen {{ last_seen }}
- {% endblocktrans %}
- {% endif%}
|