From fb0d5b72314e8463f3c5a650e7298ba0a924383d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 7 Apr 2018 13:47:01 +0300 Subject: login --- .../main/resources/templates/views/partial/navigation.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'juick-www/src/main/resources/templates') diff --git a/juick-www/src/main/resources/templates/views/partial/navigation.html b/juick-www/src/main/resources/templates/views/partial/navigation.html index 7afabcc3..160d9a97 100644 --- a/juick-www/src/main/resources/templates/views/partial/navigation.html +++ b/juick-www/src/main/resources/templates/views/partial/navigation.html @@ -9,9 +9,17 @@
  • {{ i18n("messages","link.withPhotos") }}
  • {% endif %}
  • {{ i18n("messages","link.allMessages") }}
  • -
  • {{ - i18n("messages","link.postMessage") }} + {% if visitor.uid > 0 %} +
  • + {{ i18n("messages","link.postMessage") }} +
  • + {% else %} +
  • + + {{ i18n("messages", "link.Login") }} +
  • + {% endif %}