aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-06-18 18:53:41 +0200
committerJakub Senko <jakubsenko@gmail.com>2018-06-18 18:53:41 +0200
commitf4a6a2c2d76d50b0f12cea1f1ffbc5ec9034b509 (patch)
tree3a865f6c0c30f805d7e681fbdbf6030babdcf5ea
parent02cbb864a5b6df62e978a69c368c8ec5ca35d8a3 (diff)
downloadforums-f4a6a2c2d76d50b0f12cea1f1ffbc5ec9034b509.tar
forums-f4a6a2c2d76d50b0f12cea1f1ffbc5ec9034b509.tar.gz
forums-f4a6a2c2d76d50b0f12cea1f1ffbc5ec9034b509.tar.bz2
forums-f4a6a2c2d76d50b0f12cea1f1ffbc5ec9034b509.tar.xz
forums-f4a6a2c2d76d50b0f12cea1f1ffbc5ec9034b509.zip
[ticket/15606] Hide viewprofile link when unavailable
PHPBB3-15606
-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 -->