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
e32ff572
Verified
Commit
e32ff572
authored
Mar 21, 2017
by
Sébastiaan Versteeg
Browse files
Add name and email to edit profile page with explanation
parent
2ce7dd2c
Changes
3
Hide whitespace changes
Inline
Side-by-side
website/members/locale/nl/LC_MESSAGES/django.mo
View file @
e32ff572
No preview for this file type
website/members/locale/nl/LC_MESSAGES/django.po
View file @
e32ff572
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-
15
20:
31
+0100\n"
"PO-Revision-Date: 2017-0
2
-2
5 19:35
+0100\n"
"POT-Creation-Date: 2017-03-
22
20:
44
+0100\n"
"PO-Revision-Date: 2017-0
3
-2
2 20:44
+0100\n"
"Last-Translator: Sébastiaan Versteeg <se_bastiaan@outlook.com>\n"
"Language-Team: \n"
"Language: nl\n"
...
...
@@ -18,23 +18,23 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.12\n"
#: admin.py:3
7
#: admin.py:3
6
msgid "membership type"
msgstr "lidtype"
#: admin.py:
60
#: admin.py:
59
msgid "Age"
msgstr "Leeftijd"
#: admin.py:6
5
#: admin.py:6
4
msgid "≥ 18"
msgstr "≥ 18"
#: admin.py:6
6
#: admin.py:6
5
msgid "< 18"
msgstr "< 18"
#: admin.py:6
7
#: admin.py:6
6
msgid "Unknown"
msgstr "Onbekend"
...
...
@@ -402,7 +402,27 @@ msgstr "Je profiel is succesvol opgeslagen."
msgid "Please check your profile for errors."
msgstr "Controleer je profiel op fouten."
#: templates/members/edit_profile.html:29
msgid "First Name"
msgstr "Voornaam"
#: templates/members/edit_profile.html:36
msgid "Last Name"
msgstr "Achternaam"
#: templates/members/edit_profile.html:43
msgid "Email Address"
msgstr "E-mailadres"
#: templates/members/edit_profile.html:46
msgid ""
"Want to change your name or email address? Please send an email to "
"info@thalia.nu."
msgstr ""
"Wil je je naam of e-mailadres aanpassen? Stuur dan een mailtje naar "
"info@thalia.nu."
#: templates/members/edit_profile.html:68
msgid "save"
msgstr "opslaan"
...
...
website/members/templates/members/edit_profile.html
View file @
e32ff572
...
...
@@ -25,6 +25,28 @@
<form
method=
"post"
enctype=
"multipart/form-data"
class=
"form-horizontal span8 offset2"
>
{% csrf_token %}
<div
class=
"control-group row"
>
<label
class=
"control-label"
>
{% trans "First Name" %}
</label>
<div
class=
"controls"
>
<input
type=
"text"
readonly=
"readonly"
value=
"{{ request.user.first_name }}"
/>
</div>
</div>
<div
class=
"control-group row"
>
<label
class=
"control-label"
>
{% trans "Last Name" %}
</label>
<div
class=
"controls"
>
<input
type=
"text"
readonly=
"readonly"
value=
"{{ request.user.last_name }}"
/>
</div>
</div>
<div
class=
"control-group row"
>
<label
class=
"control-label"
>
{% trans "Email Address" %}
</label>
<div
class=
"controls"
>
<input
type=
"text"
readonly=
"readonly"
value=
"{{ request.user.email }}"
/>
<span
class=
"help-block"
>
{% trans "Want to change your name or email address? Please send an email to info@thalia.nu." %}
</span>
</div>
</div>
{% for field in form %}
<div
class=
"control-group row {% if field.errors %}error{% endif %}"
>
<label
class=
"control-label"
for=
"{{ field.name }}"
>
{{ field.label_tag }}
</label>
...
...
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