Add visibility management
This commit is contained in:
20
denote/templates/public_note.html
Normal file
20
denote/templates/public_note.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block left %}
|
||||
{% for note in public_notes %}
|
||||
<div id="categories">
|
||||
<div class="note">
|
||||
<a href="/note/{{ note.author.id}}/{{ note.id }}"><div class="title">{{ note.title }}</div></a>
|
||||
<div class="date">{{ note.created_date }}</div>
|
||||
<div class="summary">{{ note.short_summary }}</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="note">
|
||||
<div id="title" class="title">{{ note.title }}</div>
|
||||
<div id="transformed_content">{{ note.transformed_text|safe }}</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user