feat: log IP address for pending comments
This commit is contained in:
parent
17e61b8a67
commit
e710e6678f
6 changed files with 71 additions and 49 deletions
|
|
@ -10,6 +10,9 @@
|
|||
{% for comment in comments_pending %}
|
||||
<div class="comment{% if comment.needs_approval %} comment_pending{% endif %}" id="comment-{{ comment.id | safe }}">
|
||||
<span class="comment-author">{{ comment.author }}</span>
|
||||
{% if comment.addr %}
|
||||
<span class="comment-addr">{{ comment.addr }}</span>
|
||||
{% endif %}
|
||||
<span class="comment-date">{{ comment.post_time | date(format="%F %R", locale=time_lang) }}</span>
|
||||
{% if comment.editable %}
|
||||
<a href="?edit={{ comment.id | safe }}#edit_comment-form">{{ tr(l=l,k="admin-comment-edit")|safe }}</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue