From: Radek Czajka Date: Mon, 17 Nov 2025 15:08:34 +0000 (+0100) Subject: Top bar donate. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/1878f6c340d619a9337ba9726d6c898f2ca40d41?hp=c749da28dba2a47f1de97a42ceff6d4581609461 Top bar donate. --- diff --git a/src/wolnelektury/static/2022/styles/layout/_navigation.scss b/src/wolnelektury/static/2022/styles/layout/_navigation.scss index c4d4f7a9b..275286b3a 100644 --- a/src/wolnelektury/static/2022/styles/layout/_navigation.scss +++ b/src/wolnelektury/static/2022/styles/layout/_navigation.scss @@ -161,6 +161,15 @@ body { color: white; } } + + .menubar-donate { + color: #fff; + background: #c92834; + padding: 9px 20px 11px; + font-weight: 600; + margin-right: 20px; + border-radius: 15px; + } } .user { diff --git a/src/wolnelektury/templates/user_actions.html b/src/wolnelektury/templates/user_actions.html index 7b9ea2dae..4cdf76598 100644 --- a/src/wolnelektury/templates/user_actions.html +++ b/src/wolnelektury/templates/user_actions.html @@ -23,14 +23,14 @@ - {% if request.user.is_staffs %} + {% if request.user.is_staff %} {% elif request.user.membership %} {% else %} {% endif %} - + {% else %} {% endif %} + +{% if not request.user.membership %} + Wspieram! +{% endif %}