aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@gmail.com>2018-07-08 18:34:12 +0200
committerTristan Darricau <tristan.darricau@gmail.com>2018-07-08 18:34:12 +0200
commitfca72a0f6a3c89d5e4f873e70cb8b557fd4fd8c8 (patch)
treed35523e464bd6273a52fcb3a0c45ea1b0d7d0f77 /phpBB/styles
parentbe15d8718dedcf56a8d2277d33ce093b21479259 (diff)
parentf4a6a2c2d76d50b0f12cea1f1ffbc5ec9034b509 (diff)
downloadforums-fca72a0f6a3c89d5e4f873e70cb8b557fd4fd8c8.tar
forums-fca72a0f6a3c89d5e4f873e70cb8b557fd4fd8c8.tar.gz
forums-fca72a0f6a3c89d5e4f873e70cb8b557fd4fd8c8.tar.bz2
forums-fca72a0f6a3c89d5e4f873e70cb8b557fd4fd8c8.tar.xz
forums-fca72a0f6a3c89d5e4f873e70cb8b557fd4fd8c8.zip
Merge pull request #5262 from senky/ticket/15606
[ticket/15606] Hide viewprofile link when unavailable * github.com:/phpbb/phpbb: [ticket/15606] Hide viewprofile link when unavailable
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/navbar_header.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/phpBB/styles/prosilver/template/navbar_header.html b/phpBB/styles/prosilver/template/navbar_header.html
index b8080a6be3..2d33849cf0 100644
--- a/phpBB/styles/prosilver/template/navbar_header.html
+++ b/phpBB/styles/prosilver/template/navbar_header.html
@@ -123,11 +123,13 @@
<i class="icon fa-sliders fa-fw" aria-hidden="true"></i><span>{L_PROFILE}</span>
</a>
</li>
- <li>
- <a href="{U_USER_PROFILE}" title="{L_READ_PROFILE}" role="menuitem">
- <i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{L_READ_PROFILE}</span>
- </a>
- </li>
+ <!-- IF U_USER_PROFILE -->
+ <li>
+ <a href="{U_USER_PROFILE}" title="{L_READ_PROFILE}" role="menuitem">
+ <i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{L_READ_PROFILE}</span>
+ </a>
+ </li>
+ <!-- ENDIF -->
<!-- EVENT navbar_header_profile_list_after -->