Skip to content

Commit

Permalink
Update user.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
PF94 committed Nov 20, 2021
1 parent 971e2f4 commit 9f98807
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions templates/sbnext-finalium/user.twig
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@
background-position: center !important;
}
</style>
{% if userdata.id == id and not forceuser %}
{% if userpagedata.id == id and not forceuser %}
<div class="bg-dark" style="padding:1px 15px;">
<p> <a href="settings.php" style="color:white;">{{ __("Edit my settings") }}</a>
&bull; <a href="forum/private.php" style="color:white;">{{ __("View my private messages") }}</a>
&bull; <a href="user.php?id={{ id }}&forceuser" style="color:white;">{{ __("View user page as viewer") }}</a>
&bull; <a href="logout.php" style="color:white;">{{ __("Log out") }}</a>
{% if userdata.powerlevel > 2 %}
{% if userpagedata.powerlevel > 2 %}
&bull; <a href="admin.php" style="color:white;">{{ __("Admin panel") }}</a></p>
{% endif %}
</p>
Expand Down

0 comments on commit 9f98807

Please sign in to comment.