X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/36f6233fd79390ad5af8a1532eac60a0ae57c825..f938afb8ab4cb091d12e0ef0311eaea14b774798:/redakcja/templates/registration/head_login.html?ds=sidebyside
diff --git a/redakcja/templates/registration/head_login.html b/redakcja/templates/registration/head_login.html
new file mode 100644
index 00000000..f051213a
--- /dev/null
+++ b/redakcja/templates/registration/head_login.html
@@ -0,0 +1,11 @@
+{% load i18n %}
+
+{% if user.is_authenticated %}
+{{ user.username }} |
+{% trans "Log Out" %}
+{% else %}
+{% url login as login_url %}
+{% ifnotequal login_url request.path %}
+ {% trans "Log In" %}
+{% endifnotequal %}
+{% endif %}