hide last editor

This commit is contained in:
Te Llamas 2022-11-15 00:02:25 +00:00
parent fa8a515267
commit c831f2060b
5 changed files with 5 additions and 5 deletions

View file

@ -99,7 +99,7 @@
{% endif %}
{% if book.last_editor %}
{% if book.last_editor and user.is_staff %}
<div>{% trans '最近编辑者:' %}<a href="{% url 'users:home' book.last_editor.mastodon_username %}">{{ book.last_editor | default:"" }}</a></div>
{% endif %}

View file

@ -133,7 +133,7 @@
{% if game.last_editor %}
{% if game.last_editor and user.is_staff %}
<div>{% trans '最近编辑者:' %}<a href="{% url 'users:home' game.last_editor.mastodon_username %}">{{ game.last_editor | default:"" }}</a></div>
{% endif %}

View file

@ -195,7 +195,7 @@
{% endif %}
{% if movie.last_editor %}
{% if movie.last_editor and user.is_staff %}
<div>{% trans '最近编辑者:' %}<a href="{% url 'users:home' movie.last_editor.mastodon_username %}">{{ movie.last_editor | default:"" }}</a></div>
{% endif %}

View file

@ -125,7 +125,7 @@
{% endif %}
{% if album.last_editor %}
{% if album.last_editor and user.is_staff %}
<div>{% trans '最近编辑者:' %}<a href="{% url 'users:home' album.last_editor.mastodon_username %}">{{ album.last_editor | default:"" }}</a></div>
{% endif %}

View file

@ -113,7 +113,7 @@
{% endif %}
{% if song.last_editor %}
{% if song.last_editor and user.is_staff %}
<div>{% trans '最近编辑者:' %}<a href="{% url 'users:home' song.last_editor.mastodon_username %}">{{ song.last_editor | default:"" }}</a></div>
{% endif %}