diff --git a/templates/partials/sidebar_right.html.twig b/templates/partials/sidebar_right.html.twig index fc5f291..1fa7cf1 100644 --- a/templates/partials/sidebar_right.html.twig +++ b/templates/partials/sidebar_right.html.twig @@ -35,16 +35,15 @@ {% endif %} {% if config.plugins.login.enabled %} -
- {% if not grav.user.authenticated %} + {% if not grav.user.authenticated %} +
  • {{ 'PLUGIN_LOGIN.BTN_LOGIN'|t }}
  • {% else %} - {% include 'partials/login-status.html.twig' %} +
  • Logged as: {{ grav.user.fullname ?: grav.user.username }}
  • +
  • {{ 'PLUGIN_LOGIN.BTN_LOGOUT'|t }}
  • {% endif %} +
    - {% endif %} \ No newline at end of file