"User removed" label on user page (show.html.twig).

This commit is contained in:
Alexey Skobkin 2017-01-18 02:42:54 +03:00
parent 7b87dc22ba
commit 3336bf3502
2 changed files with 9 additions and 0 deletions

View file

@ -36,6 +36,8 @@ Date: Дата
Rename log: Лог переименований
Old login: Старый логин
New login: Новый логин
User was removed from Point.im. It could be caused by Terms of Service violation.: >
Пользователь был удалён с Point.im. Это могло быть вызвано нарушением условий использования.
No subscribers data found: Информация о подписчиках отсутствует
No rename log data found: Лог переименований отсутствует

View file

@ -9,6 +9,13 @@
<a href="{{ user.login|point_user_blog_url }}" target="_blank">{{ user.login }}</a>
</h1>
{% if user.removed %}
<div class="alert alert-danger" role="alert">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
{{ 'User was removed from Point.im. It could be caused by Terms of Service violation.'|trans }}
</div>
{% endif %}
<div class="user-subscribers">
{% if subscribers|length > 0 %}
<div class="panel-group" id="accordion-subscribers">