From f216eaa143febe357fb901f4e568e3f0a54cc7ce Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 14 Apr 2020 16:10:49 +0300 Subject: Initial grid layout --- .../templates/views/partial/usercolumn.html | 104 ++++++++++++--------- 1 file changed, 58 insertions(+), 46 deletions(-) (limited to 'src/main/resources/templates/views/partial/usercolumn.html') diff --git a/src/main/resources/templates/views/partial/usercolumn.html b/src/main/resources/templates/views/partial/usercolumn.html index 5d1aaff6..4beefd8a 100644 --- a/src/main/resources/templates/views/partial/usercolumn.html +++ b/src/main/resources/templates/views/partial/usercolumn.html @@ -1,60 +1,69 @@ -{% if visitor is not empty and visitor.uid > 0 and visitor.uid != user.uid %} -
- - {{ user.name }} - -
- {% if isSubscribed %} - - Subscribed - - {% else %} - - Subscribe - + {% if visitor is not empty and visitor.uid > 0 and visitor.uid != user.uid %} +
+ + {{ user.name }} + +
+
+ {% if isSubscribed %} + + Subscribed + + {% else %} + + Subscribe + + {% endif %} + {% if isInBL %} + + Unblock + + {% else %} + + Block + + {% endif %} + {% if not isInBLAny %} + + PM + + {% endif %} +
{% endif %} - {% if isInBL %} - - Unblock + {% if visitor is not empty and visitor.uid == user.uid %} + + {{ i18n("messages","link.my") }} - {% else %} - - Block + + {{ i18n("messages","link.privateMessages") }} - {% endif %} - {% if not isInBLAny %} - - PM + + {{ i18n("messages","link.discuss") }} {% endif %} -
-{% endif %} -
- {% if visitor is not empty and visitor.uid == user.uid %} - {{ i18n("messages","link.my") }} - {{ i18n("messages","link.privateMessages") }} - {{ i18n("messages","link.discuss") }} - {% endif %} {% if visitor is not empty and visitor.uid == user.uid and false %} {{ i18n("messages","blog.comments") }} Неотвеченные {% endif %} {% if visitor is not empty and visitor.uid == user.uid %} - - {{ i18n("messages","link.settings") }} - {% if not visitor.verified %} - - {% endif %} - + + + {{ i18n("messages","link.settings") }} + {% if not visitor.verified %} + + {% endif %} + {% endif %}
-
-

+ +

-{% include "views/partial/usertags" %} -
+ + {% include "views/partial/usertags" %} + +
+ + {% include "views/partial/footer" %} + \ No newline at end of file -- cgit v1.2.3