diff options
author | luxagraf <sng@luxagraf.net> | 2024-01-17 10:29:30 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-01-17 10:29:30 -0500 |
commit | ad2d2ceda8d57836c92586f8c4069bce61f8de62 (patch) | |
tree | 1e81b509368715d5b5a597f1d86310d95e4b347a /app/gtd | |
parent | f75f5181c25b49c51bf108357b6d9cb563055063 (diff) |
gtd: updated table view with some counts
Diffstat (limited to 'app/gtd')
-rw-r--r-- | app/gtd/templates/gtd/wiredpost_table.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/app/gtd/templates/gtd/wiredpost_table.html b/app/gtd/templates/gtd/wiredpost_table.html index fc7d440..d80787a 100644 --- a/app/gtd/templates/gtd/wiredpost_table.html +++ b/app/gtd/templates/gtd/wiredpost_table.html @@ -10,6 +10,9 @@ <thead> <tr> <th scope="col" class="sortable column-title"> + <div class="text"><span>count</span></div> +</th> +<th scope="col" class="sortable column-title"> <div class="text"><span>Title</span></div> </th> <th scope="col" class="column-admin_url"> @@ -41,6 +44,9 @@ Date last pub <tbody>{% for object in object_list %} <tr> <td class="field-title"> + {{forloop.counter}} + </td> + <td class="field-title"> <a href="{% url 'gtd:wiredpost-detail' object.id %}">{{object.title}}</a> </td> <td class="field-admin_url"> @@ -67,6 +73,9 @@ Date last pub {% if reviews %}{% for object in reviews %} <tr> <td class="field-title"> + {{forloop.counter}} + </td> + <td class="field-title"> <a href="{% url 'gtd:wiredpost_detail' object.id">{{object.title}}</a> </td> <td class="field-admin_url"> @@ -74,9 +83,10 @@ Date last pub {{object.url|truncatechars:55}} </a> </td> - <td class="field-date_last_pub nowrap">{{object.date_last_pub}}</td> + <td class="field-date_last_pub nowrap">-</td> + <td class="field-date_last_pub nowrap">-</td> <td class="field-post_type"><span class="hide">{{object.post_type}}</span>{{object.get_plan_display}}</td> - <td class="field-update_frequency">{{object.update_frequency}}</td> + <td class="field-update_frequency">-</td> <td class="field-needs_update">{% if object.needs_update %} <span class="hide">1</span><img src="/static/admin/img/icon-yes.svg" alt="True">{%else%} <span class="hide">0</span><img src="/static/admin/img/icon-no.svg" alt="False">{%endif%} |