Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
6b8617a8
Verified
Commit
6b8617a8
authored
Sep 03, 2017
by
Sébastiaan Versteeg
Browse files
Show static announcement when authenticated user does not have an active membership
parent
f93d2ab3
Changes
3
Hide whitespace changes
Inline
Side-by-side
website/thaliawebsite/locale/nl/LC_MESSAGES/django.mo
View file @
6b8617a8
No preview for this file type
website/thaliawebsite/locale/nl/LC_MESSAGES/django.po
View file @
6b8617a8
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-0
3
-0
4
1
1:07
+0
1
00\n"
"PO-Revision-Date: 2017-0
4-17
1
7
:5
9
+0200\n"
"POT-Creation-Date: 2017-0
9
-0
3
1
3:54
+0
2
00\n"
"PO-Revision-Date: 2017-0
9-03
1
3
:5
5
+0200\n"
"Last-Translator: Sébastiaan Versteeg <se_bastiaan@outlook.com>\n"
"Language-Team: \n"
"Language: nl\n"
...
...
@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.
1
\n"
"X-Generator: Poedit 2.0.
3
\n"
#: admin.py:4
msgid "Thalia administration"
...
...
@@ -144,11 +144,11 @@ msgstr "Samenvatting Insturen"
msgid "Contact"
msgstr "Contact"
#: settings/settings.py:1
8
0
#: settings/settings.py:1
9
0
msgid "English"
msgstr "Engels"
#: settings/settings.py:1
8
1
#: settings/settings.py:1
9
1
msgid "Dutch"
msgstr "Nederlands"
...
...
@@ -171,31 +171,39 @@ msgstr ""
"500: Interne fout in de server. Thalia's websitecommissie (de Technicie) is "
"op de hoogte gesteld."
#: templates/base.html:9 templates/base.html:27 templates/base.html:1
84
#: templates/base.html:9 templates/base.html:27 templates/base.html:1
91
msgid "Study Association Thalia"
msgstr "Studievereniging Thalia"
#: templates/base.html:84
#: templates/base.html:64
msgid ""
"You're currently not a member of Thalia. Renew your membership to get access "
"to all parts of the website."
msgstr ""
"Je bent op dit moment geen lid van Thalia. Vernieuw je lidmaatschap om "
"toegang te krijgen tot de gehele website."
#: templates/base.html:91
msgid "Login"
msgstr "Inloggen"
#: templates/base.html:
88
#: templates/base.html:
95
msgid "My Account"
msgstr "Mijn Account"
#: templates/base.html:
93
#: templates/base.html:
100
msgid "edit profile"
msgstr "bewerk profiel"
#: templates/base.html:
94
#: templates/base.html:
101
msgid "change password"
msgstr "wijzig mijn wachtwoord"
#: templates/base.html:
97
#: templates/base.html:
104
msgid "Site administration"
msgstr "Sitebeheer"
#: templates/base.html:10
0
#: templates/base.html:10
7
msgid "Log Out"
msgstr "Uitloggen"
...
...
@@ -226,15 +234,15 @@ msgstr ""
"kunnen studenten gemakkelijk contacten onderhouden met docenten en studenten "
"van andere jaren."
#: templates/index.html:1
1
#: templates/index.html:1
3
msgid "Upcoming events"
msgstr "Aanstaande evenementen"
#: templates/index.html:1
5
#: templates/index.html:1
7
msgid "Searching for another event?"
msgstr "Op zoek naar een ander evenement?"
#: templates/index.html:1
5
#: templates/index.html:1
7
msgid "Take a look at the entire agenda"
msgstr "Bekijk de hele agenda"
...
...
website/thaliawebsite/templates/base.html
View file @
6b8617a8
...
...
@@ -57,6 +57,14 @@
<!-- #wrapper -->
<div
class=
"thimbus-page"
>
<!-- notification for authenticated users without membership -->
{% if request.user and request.user.member and request.user.member.current_membership is None %}
<div
class=
"announcement"
>
<i
class=
"fa fa-id-card"
></i>
{% trans "You're currently not a member of Thalia. Renew your membership to get access to all parts of the website." %}
</div>
{% endif %}
<!-- #announcements -->
{% include "announcements/announcement.html" with announcements=announcements %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment