Skip to content
Snippets Groups Projects
Commit b6eec5b6 authored by Jan Mach's avatar Jan Mach
Browse files

Added link to network record update to the detail view.

(Redmine issue: #3734)
parent c93e53ad
No related branches found
No related tags found
No related merge requests found
......@@ -12,12 +12,20 @@
</ol>
<h2>{{ hawat_view_title }}</h2>
<hr>
<h3>{{ item.name }}</h3>
<h3>{{ item.netname }}</h3>
<div class="pull-right">
<div class="btn-toolbar" role="toolbar" aria-label="{{ gettext('Action toolbar') }}">
<div class="btn-group" role="group" aria-label="{{ gettext('Action buttons') }}">
<a data-toggle="tooltip" role="button" class="btn btn-default btn-sm" href="{{ url_for('networks.update', item_id = item.id ) }}" title="{{ gettext('Update details of network record &quot;%(item)s&quot;', item = item.netname) }}">{{ get_fa_icon('edit') }} {{ gettext('Update') }}</a>
</div>
</div>
</div>
<p>
<small>
{{ gettext('Network created:') }} {{ babel_format_datetime(item.createtime) }} (before {{ babel_format_timedelta(current_datetime_utc - item.createtime) }})
</small>
</p>
<br>
<table class="table table-bordered">
<tbody>
<tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment