hide last editor
This commit is contained in:
parent
fa8a515267
commit
c831f2060b
5 changed files with 5 additions and 5 deletions
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue