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
b667cd83
Commit
b667cd83
authored
Feb 20, 2019
by
Joren Vrancken
Browse files
Merge branch 'fix/headers-payments-table' into 'master'
Fix admin.py headers in payments See merge request
!1175
parents
711d1885
706ab720
Changes
3
Hide whitespace changes
Inline
Side-by-side
website/payments/admin.py
View file @
b667cd83
...
...
@@ -58,12 +58,12 @@ class PaymentAdmin(admin.ModelAdmin):
def
paid_by_link
(
self
,
obj
):
return
self
.
_member_link
(
obj
.
paid_by
)
paid_by_link
.
admin_order_field
=
'paid_by'
paid_by_link
.
short_description
=
'paid
_
by'
paid_by_link
.
short_description
=
_
(
'paid
by'
)
def
processed_by_link
(
self
,
obj
):
return
self
.
_member_link
(
obj
.
processed_by
)
processed_by_link
.
admin_order_field
=
'processed_by'
processed_by_link
.
short_description
=
'paid_
by'
processed_by_link
.
short_description
=
_
(
'processed
by'
)
def
changeform_view
(
self
,
request
,
object_id
=
None
,
form_url
=
''
,
extra_context
=
None
):
...
...
website/payments/locale/nl/LC_MESSAGES/django.mo
View file @
b667cd83
No preview for this file type
website/payments/locale/nl/LC_MESSAGES/django.po
View file @
b667cd83
...
...
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-
08 11:51
+0100\n"
"PO-Revision-Date: 2019-02-
08 11:52
+0100\n"
"POT-Creation-Date: 2019-02-
20 21:27
+0100\n"
"PO-Revision-Date: 2019-02-
20 21:27
+0100\n"
"Last-Translator: Thom Wiggers <thom@thomwiggers.nl>\n"
"Language-Team: \n"
"Language: nl\n"
...
...
@@ -16,7 +16,15 @@ 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.2\n"
"X-Generator: Poedit 2.2.1\n"
#: admin.py
msgid "paid by"
msgstr "betaald door"
#: admin.py
msgid "processed by"
msgstr "verwerkt door"
#: admin.py
msgid "Process selected payments (cash)"
...
...
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