Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7a9043e6
authored
Nov 21, 2018
by
Chif Gergő
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: Show MAC address of interface for admins
Superusers now see the MAC address of an interface in the network tab.
parent
e8684154
Pipeline
#687
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
circle/dashboard/templates/dashboard/vm-detail/network.html
+3
-0
No files found.
circle/dashboard/templates/dashboard/vm-detail/network.html
View file @
7a9043e6
...
@@ -37,6 +37,9 @@
...
@@ -37,6 +37,9 @@
<dl>
<dl>
<dt>
{% trans "IPv4 address" %}:
</dt>
<dd>
{{ i.host.ipv4 }}
</dd>
<dt>
{% trans "IPv4 address" %}:
</dt>
<dd>
{{ i.host.ipv4 }}
</dd>
<dt>
{% trans "IPv6 address" %}:
</dt>
<dd>
{{ i.host.ipv6 }}
</dd>
<dt>
{% trans "IPv6 address" %}:
</dt>
<dd>
{{ i.host.ipv6 }}
</dd>
{% if request.user.is_superuser %}
<dt>
{% trans "MAC address" %}:
</dt>
<dd>
{{ i.host.mac }}
</dd>
{% endif %}
<dt>
{% trans "DNS name" %}:
</dt>
<dd>
{{ i.host.get_fqdn }}
</dd>
<dt>
{% trans "DNS name" %}:
</dt>
<dd>
{{ i.host.get_fqdn }}
</dd>
<dt>
{% trans "Groups" %}:
</dt>
<dt>
{% trans "Groups" %}:
</dt>
<dd>
<dd>
...
...
Belákovics Ádám
@Edi
commented
Jan 11, 2019
Master
OK
OK
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