Add public notes access

This commit is contained in:
Gregory Soutade
2016-06-14 11:28:37 +02:00
parent 72c3a97ffa
commit b4e7d60760
5 changed files with 21 additions and 8 deletions

View File

@@ -6,9 +6,6 @@
</script>
{% endblock %}
{% block left %}
{% if authenticated %}
<a href="/note/add">Add a note</a>
{% endif %}
<div id="categories">
{% for meta_note in notes_by_category %}
<div class="category" category_id="{{ meta_note.category_id }}">
@@ -46,10 +43,6 @@
{% endfor %}
</div>
</div>
{% else %}
{% if notes_by_category|length == 0 %}
<b>Any note</b>
{% endif %}
{% endif %}
</div>
{% endblock %}