Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
5fa75fcd
Verified
Commit
5fa75fcd
authored
May 17, 2020
by
Dmitry Volodin
Browse files
#1299
Hide hidden custom fields from ipam view
parent
316fce34
Pipeline
#23138
passed with stages
in 12 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
services/web/apps/ip/ipam/views.py
View file @
5fa75fcd
...
...
@@ -194,6 +194,8 @@ class IPAMApplication(ExtApplication):
#
# Add custom fields
for
f
in
CustomField
.
table_fields
(
"ip_prefix"
):
if
f
.
is_hidden
:
continue
v
=
getattr
(
prefix
,
f
.
name
)
prefix_info
+=
[(
f
.
label
,
v
if
v
is
not
None
else
""
)]
# Ranges
...
...
Andrey Vertiprahov
@aversant
mentioned in commit
e2889616
·
May 21, 2020
mentioned in commit
e2889616
mentioned in commit e2889616cb0e2b01243f15b49d0caf4cdf06e7fd
Toggle commit list
Andrey Vertiprahov
@aversant
mentioned in merge request
!3661 (merged)
·
May 21, 2020
mentioned in merge request
!3661 (merged)
mentioned in merge request !3661
Toggle commit list
Andrey Vertiprahov
@aversant
mentioned in commit
6b14146c
·
May 22, 2020
mentioned in commit
6b14146c
mentioned in commit 6b14146cf884a0b9d79d0c34108ecb75bce4b939
Toggle commit list
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