aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-10-20 21:06:53 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-10-20 21:06:53 +0200
commit23fd522dbbefa81bfbced2115d9a3a86b26f8d64 (patch)
treed20bbf804ce3c59c7fb1dbfaceaef11e478327c6
parentf0bf54f9eb01379ae3c18b351da75bbd8b071c64 (diff)
parentdcf733a1e76150fbb5cecce14cc6568af4c93968 (diff)
downloadforums-23fd522dbbefa81bfbced2115d9a3a86b26f8d64.tar
forums-23fd522dbbefa81bfbced2115d9a3a86b26f8d64.tar.gz
forums-23fd522dbbefa81bfbced2115d9a3a86b26f8d64.tar.bz2
forums-23fd522dbbefa81bfbced2115d9a3a86b26f8d64.tar.xz
forums-23fd522dbbefa81bfbced2115d9a3a86b26f8d64.zip
Merge pull request #5704 from senky/ticket/16172
[ticket/16172] Add group rank label to group view
-rw-r--r--phpBB/styles/prosilver/template/memberlist_body.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/memberlist_body.html b/phpBB/styles/prosilver/template/memberlist_body.html
index 745f9a58a8..b8ff092372 100644
--- a/phpBB/styles/prosilver/template/memberlist_body.html
+++ b/phpBB/styles/prosilver/template/memberlist_body.html
@@ -28,8 +28,13 @@
<p>
<!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ENDIF -->
{% EVENT memberlist_body_group_rank_before %}
- <!-- IF RANK_IMG -->{RANK_IMG}<!-- ENDIF -->
- <!-- IF GROUP_RANK -->{GROUP_RANK}<!-- ENDIF -->
+ {% if RANK_IMG %}{{ RANK_IMG }}{% endif %}
+ {% if GROUP_RANK %}
+ {% if not RANK_IMG %}
+ {{ lang('GROUP_RANK') ~ lang('COLON') }}
+ {% endif %}
+ {{ GROUP_RANK }}
+ {% endif %}
{% EVENT memberlist_body_group_rank_after %}
</p>
<!-- ELSE -->