mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Asset specific templates begone. Still need to bring back the ID formatting for the Rigboard.
35 lines
945 B
HTML
35 lines
945 B
HTML
{% extends 'base_assets.html' %}
|
|
{% load widget_tweaks %}
|
|
{% block title %}Asset {{ object.asset_id }}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="page-header">
|
|
<h1>Asset: {{ object.asset_id }}</h1>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
{% include 'partials/asset_detail_form.html' %}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
{% if perms.assets.asset_finance %}
|
|
<div class="col-md-6">
|
|
{% include 'partials/purchasedetails_form.html' %}
|
|
</div>
|
|
{% endif %}
|
|
<div class="col-md-6" {% if not object.is_cable %}hidden="true"{% endif %} id="cable-table">
|
|
{% include 'partials/cable_form.html' %}
|
|
</div>
|
|
<div class="col-md-4">
|
|
{% include 'partials/parent_form.html' %}
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
{% include 'partials/asset_buttons.html' %}
|
|
</div>
|
|
{% include 'partials/last_edited.html' with target="asset_history" id=object.asset_id %}
|
|
{% endblock %}
|