diff --git a/books/templates/books/detail.html b/books/templates/books/detail.html index 2452bcf1..9fcf7b56 100644 --- a/books/templates/books/detail.html +++ b/books/templates/books/detail.html @@ -99,7 +99,7 @@ {% endif %} - {% if book.last_editor %} + {% if book.last_editor and user.is_staff %}
{% trans '最近编辑者:' %}{{ book.last_editor | default:"" }}
{% endif %} diff --git a/games/templates/games/detail.html b/games/templates/games/detail.html index fed9eb7a..5513e992 100644 --- a/games/templates/games/detail.html +++ b/games/templates/games/detail.html @@ -133,7 +133,7 @@ - {% if game.last_editor %} + {% if game.last_editor and user.is_staff %}
{% trans '最近编辑者:' %}{{ game.last_editor | default:"" }}
{% endif %} diff --git a/movies/templates/movies/detail.html b/movies/templates/movies/detail.html index 72788ad0..94546277 100644 --- a/movies/templates/movies/detail.html +++ b/movies/templates/movies/detail.html @@ -195,7 +195,7 @@ {% endif %} - {% if movie.last_editor %} + {% if movie.last_editor and user.is_staff %}
{% trans '最近编辑者:' %}{{ movie.last_editor | default:"" }}
{% endif %} diff --git a/music/templates/music/album_detail.html b/music/templates/music/album_detail.html index 7de3d0ae..22ffe1b2 100644 --- a/music/templates/music/album_detail.html +++ b/music/templates/music/album_detail.html @@ -125,7 +125,7 @@ {% endif %} - {% if album.last_editor %} + {% if album.last_editor and user.is_staff %}
{% trans '最近编辑者:' %}{{ album.last_editor | default:"" }}
{% endif %} diff --git a/music/templates/music/song_detail.html b/music/templates/music/song_detail.html index 48a8c7be..9dd5a397 100644 --- a/music/templates/music/song_detail.html +++ b/music/templates/music/song_detail.html @@ -113,7 +113,7 @@ {% endif %} - {% if song.last_editor %} + {% if song.last_editor and user.is_staff %}
{% trans '最近编辑者:' %}{{ song.last_editor | default:"" }}
{% endif %}