04/07 updated timezone, report via email, etc
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
{% if articles %}
|
||||
<table class="table mb-0">
|
||||
<thead>
|
||||
<tr><th>Title</th><th>Category</th><th>Author</th><th>Published</th><th>Views</th><th>Updated</th><th>Actions</th></tr>
|
||||
<tr><th>Title</th><th>Category</th><th>Author</th><th>Published</th><th>Views</th><th style="white-space:nowrap;">👍 / 👎</th><th>Updated</th><th>Actions</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for art in articles %}
|
||||
@@ -81,6 +81,13 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="font-size:12px;color:var(--muted);">{{ art.view_count }}</td>
|
||||
<td style="font-size:12px;white-space:nowrap;">
|
||||
{% set hc = art.feedback.filter_by(is_helpful=True).count() %}
|
||||
{% set nc = art.feedback.filter_by(is_helpful=False).count() %}
|
||||
<span style="color:var(--success);">👍 {{ hc }}</span>
|
||||
<span style="color:var(--muted);margin:0 3px;">/</span>
|
||||
<span style="color:var(--danger);">👎 {{ nc }}</span>
|
||||
</td>
|
||||
<td style="font-size:12px;color:var(--muted);">{{ art.updated_at.strftime('%b %d, %Y') }}</td>
|
||||
<td>
|
||||
<div class="d-flex gap-1 align-items-center">
|
||||
|
||||
Reference in New Issue
Block a user