diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-10-20 21:06:53 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-10-20 21:06:53 +0200 |
commit | 23fd522dbbefa81bfbced2115d9a3a86b26f8d64 (patch) | |
tree | d20bbf804ce3c59c7fb1dbfaceaef11e478327c6 | |
parent | f0bf54f9eb01379ae3c18b351da75bbd8b071c64 (diff) | |
parent | dcf733a1e76150fbb5cecce14cc6568af4c93968 (diff) | |
download | forums-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.html | 9 |
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 --> |