diff --git a/templates/widgets/profile/w_button_for_profile_menu.html b/templates/widgets/profile/w_button_for_profile_menu.html index f919164..7d009ab 100644 --- a/templates/widgets/profile/w_button_for_profile_menu.html +++ b/templates/widgets/profile/w_button_for_profile_menu.html @@ -7,12 +7,15 @@ {% if page_type and page_type == 'profile' or not sel_page_name %} - - {% else %} + {% if sel_page_name == 'logout' %} + {% else %} + {% endif %} - {% if sel_page_name != 'logout' %} + {% else %} + + {% if sel_page_name != 'logoout' %} {% endif %} {% endif %}