better integration of notes, templates clean up

This commit is contained in:
Arthur Gerbaud
2016-08-06 19:28:15 +02:00
parent b3ca132a73
commit aefeb2e349
12 changed files with 101 additions and 63 deletions

View File

@@ -1,8 +1,13 @@
{% load notes %}
<div class="col-md-6">
<div class="panel panel-primary">
<div class="panel-heading"><h3 class="panel-title">Notes
<span class="pull-right"><span class="label">Total : {{ notes.count }}</span></span></h3>
</div>
<table class="table table-striped table-bordered">
{% for note in notes %}
{% inline_table note %}
{% endfor %}
</table>
</div>
</div>