First pass at filters

They're currently exclusive with each other and search, which ain't quite right!

Also stopped search from searching comments.
This commit is contained in:
2019-10-02 22:49:54 +01:00
parent 8599a2ae5b
commit 5bfa737f6b
4 changed files with 77 additions and 40 deletions

View File

@@ -9,13 +9,13 @@
<div class="page-header">
<h1>
{% if edit and object %}
Edit Asset: {{ object.asset_id }} {{ object.description }}
Edit Asset: {{ object.asset_id }} - {{ object.description }}
{% elif duplicate %}
Duplication of Asset: {{ previous_asset_id }}
{% elif not object %}
Create Asset
{% else %}
Asset: {{ object.asset_id }} {{ object.description }}
Asset: {{ object.asset_id }} - {{ object.description }}
{% endif %}
</h1>
</div>