renamed List to Note everywhere thru-out project in preparation for complete overhaul of applet capabilities
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
<section
|
||||
id="id_applet_my_lists"
|
||||
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
|
||||
>
|
||||
<a href="{% url 'my_lists' user.id %}" class="my-lists-main">My lists:</a>
|
||||
<div class="my-lists-container">
|
||||
<ul>
|
||||
{% for list in recent_lists %}
|
||||
<li>
|
||||
<a href="{{ list.get_absolute_url }}">{{ list.name }}</a>
|
||||
</li>
|
||||
{% empty %}
|
||||
<li>No lists yet.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
17
src/templates/apps/dashboard/_partials/_applet-my-notes.html
Normal file
17
src/templates/apps/dashboard/_partials/_applet-my-notes.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<section
|
||||
id="id_applet_my_notes"
|
||||
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
|
||||
>
|
||||
<a href="{% url 'my_notes' user.id %}" class="my-notes-main">My notes:</a>
|
||||
<div class="my-notes-container">
|
||||
<ul>
|
||||
{% for note in recent_notes %}
|
||||
<li>
|
||||
<a href="{{ note.get_absolute_url }}">{{ note.name }}</a>
|
||||
</li>
|
||||
{% empty %}
|
||||
<li>No notes yet.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,8 +1,8 @@
|
||||
<section
|
||||
id="id_applet_new_list"
|
||||
id="id_applet_new_note"
|
||||
style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};"
|
||||
>
|
||||
<h2>Start a new to-do list</h2>
|
||||
{% url "new_list" as form_action %}
|
||||
{% url "new_note" as form_action %}
|
||||
{% include "apps/dashboard/_partials/_form.html" with form=form form_action=form_action %}
|
||||
</section>
|
||||
</section>
|
||||
Reference in New Issue
Block a user