Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
99e1447c
Commit
99e1447c
authored
Mar 15, 2017
by
Robin Sonnabend
Browse files
add whitespace between network prefixes
/close
#55
parent
39b77ec4
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/tables.py
View file @
99e1447c
...
...
@@ -212,7 +212,7 @@ class ProtocolTypeTable(SingleValueTable):
calendar_part
=
[]
network_part
=
[
Table
.
bool
(
self
.
value
.
restrict_networks
),
self
.
value
.
allowed_networks
", "
.
join
(
map
(
str
.
strip
,
self
.
value
.
allowed_networks
.
split
(
","
)))
]
action_part
=
[
Table
.
link
(
url_for
(
"delete_type"
,
protocoltype_id
=
self
.
value
.
id
),
"Löschen"
,
confirm
=
"Bist du dir sicher, dass du den Protokolltype {} löschen möchtest?"
.
format
(
self
.
value
.
name
))]
if
not
self
.
value
.
has_admin_right
(
user
):
...
...
Write
Preview
Supports
Markdown
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