aboutsummaryrefslogtreecommitdiff
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 /phpBB/styles
parentMerge pull request #5703 from senky/ticket/16174 (diff)
parent[ticket/16172] Use twig (diff)
downloadphpbb-23fd522dbbefa81bfbced2115d9a3a86b26f8d64.tar.gz
phpbb-23fd522dbbefa81bfbced2115d9a3a86b26f8d64.tar.bz2
phpbb-23fd522dbbefa81bfbced2115d9a3a86b26f8d64.zip
Merge pull request #5704 from senky/ticket/16172
[ticket/16172] Add group rank label to group view
Diffstat (limited to 'phpBB/styles')
-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 -->