Update created_updated.html

This commit is contained in:
Jeremy Stretch 2020-11-19 13:44:34 -05:00
parent e5caea04c1
commit 790e1ee2e4
24 changed files with 28 additions and 28 deletions

View File

@ -41,7 +41,7 @@
{% endif %}
</div>
<h1>{{ object }}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -41,7 +41,7 @@
{% endif %}
</div>
<h1>{{ object }}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -23,7 +23,7 @@
{% endif %}
</div>
<h1>{% block title %}Cable {{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -82,7 +82,7 @@
{% endif %}
</div>
<h1>{{ object }}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -62,7 +62,7 @@
{% endif %}
</div>
<h1>{{ object.manufacturer }} {{ object.model }}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -44,7 +44,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -40,7 +40,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=powerpanel %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>
@ -85,7 +85,7 @@
{% plugin_left_page object %}
</div>
<div class="col-md-6">
{% include 'inc/custom_fields_panel.html' with obj=powerpanel %}
{% include 'inc/custom_fields_panel.html' with obj=object %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:powerpanel_list' %}
{% plugin_right_page object %}
</div>

View File

@ -52,7 +52,7 @@
{% endif %}
</div>
<h1>{% block title %}Rack {{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
<button class="btn btn-sm btn-default toggle-images" selected="selected">
<span class="mdi mdi-checkbox-marked-circle-outline" aria-hidden="true"></span> Show Images

View File

@ -37,7 +37,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=rackreservation %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>
@ -122,7 +122,7 @@
</tr>
</table>
</div>
{% include 'inc/custom_fields_panel.html' with obj=rackreservation %}
{% include 'inc/custom_fields_panel.html' with obj=object %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:rackreservation_list' %}
{% plugin_left_page object %}
</div>

View File

@ -46,7 +46,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -38,7 +38,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -37,7 +37,7 @@
{% endif %}
</div>
<h1>{% block title %}Tag: {{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=tag %}
{% include 'inc/created_updated.html' %}
<ul class="nav nav-tabs">
<li role="presentation"{% if not active_tab %} class="active"{% endif %}>
<a href="{{ object.get_absolute_url }}">Tag</a>

View File

@ -1,3 +1,3 @@
<p>
<small class="text-muted">Created {{ obj.created }} &middot; Updated <span title="{{ obj.last_updated }}">{{ obj.last_updated|timesince }}</span> ago</small>
<small class="text-muted">Created {{ object.created }} &middot; Updated <span title="{{ object.last_updated }}">{{ object.last_updated|timesince }}</span> ago</small>
</p>

View File

@ -39,7 +39,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
{% include 'ipam/inc/toggle_available.html' %}
<div class="pull-right noprint">
{% custom_links object %}

View File

@ -42,7 +42,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -52,7 +52,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
{% include 'ipam/inc/toggle_available.html' %}
<div class="pull-right noprint">
{% custom_links object %}

View File

@ -38,7 +38,7 @@
{% endif %}
</div>
<h1>{% block title %}Route target {{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -36,7 +36,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=service %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>
@ -81,7 +81,7 @@
</tr>
</table>
</div>
{% include 'inc/custom_fields_panel.html' with obj=service %}
{% include 'inc/custom_fields_panel.html' with obj=object %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:service_list' %}
{% plugin_left_page object %}
</div>

View File

@ -44,7 +44,7 @@
{% endif %}
</div>
<h1>{% block title %}VLAN {{ object.display_name }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -38,7 +38,7 @@
{% endif %}
</div>
<h1>{% block title %}VRF {{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -26,7 +26,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=secret %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>
@ -66,7 +66,7 @@
</tr>
</table>
</div>
{% include 'inc/custom_fields_panel.html' with obj=secret %}
{% include 'inc/custom_fields_panel.html' with obj=object %}
{% plugin_left_page object %}
</div>
<div class="col-md-6">

View File

@ -41,7 +41,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -41,7 +41,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>

View File

@ -46,7 +46,7 @@
{% endif %}
</div>
<h1>{% block title %}{{ object }}{% endblock %}</h1>
{% include 'inc/created_updated.html' with obj=object %}
{% include 'inc/created_updated.html' %}
<div class="pull-right noprint">
{% custom_links object %}
</div>