forked from wiktor/spejstore-new
Hide item history by default
This commit is contained in:
parent
786f2a3675
commit
4acccb7d94
|
@ -105,6 +105,12 @@
|
|||
{% endif %}
|
||||
|
||||
{% if history %}
|
||||
<div class="row" style="margin-top: 20px">
|
||||
<div class="col-md-6">
|
||||
<a class="btn btn-default btn-sm" data-toggle="collapse" data-target="#hs-item-history" >Toggle changes</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="hs-item-history" class="collapse">
|
||||
<h3>Changes</h3>
|
||||
<table class="table table-striped table-hover">
|
||||
{% for entry in history %}
|
||||
|
@ -116,6 +122,7 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
@ -125,7 +132,7 @@
|
|||
{{ item.description|markdown:"code-color" }}
|
||||
{% endif %}
|
||||
|
||||
<h3>Children</h3>
|
||||
<h3>What's inside?</h3>
|
||||
{% include "widgets/itemlist.html" with list=children|dictsort:"name" item=item %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/">Hackerspace Storage System</a>
|
||||
<a class="navbar-brand" href="/">Hackerspace Storage</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
|
Loading…
Reference in New Issue