Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
chris
repanier
Commits
618e08b3
Commit
618e08b3
authored
Apr 03, 2017
by
Patrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
5ae35733
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
repanier/models/staff.py
repanier/models/staff.py
+6
-1
No files found.
repanier/models/staff.py
View file @
618e08b3
...
...
@@ -78,7 +78,12 @@ class Staff(MPTTModel, TranslatableModel):
def
title_for_admin
(
self
):
if
self
.
customer_responsible
is
not
None
:
tester
=
_
(
" who is also tester "
)
if
self
.
is_tester
else
EMPTY_STRING
return
'%s : %s%s (%s)'
%
(
self
.
safe_translation_getter
(
'long_name'
,
any_language
=
True
),
self
.
customer_responsible
.
long_basket_name
,
tester
,
self
.
customer_responsible
.
phone1
)
return
'%s : %s%s (%s)'
%
(
self
.
safe_translation_getter
(
'long_name'
,
any_language
=
True
),
self
.
customer_responsible
.
long_basket_name
,
tester
,
self
.
customer_responsible
.
phone1
)
else
:
return
'%s'
%
self
.
safe_translation_getter
(
'long_name'
,
any_language
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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