Project

General

Profile

Actions

Bug #27231

open

Layout changed after /users/extlogout

Added by Shimon Shtein almost 5 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The menu overlaps hosts list after the user visits /users/extlogout page:

Reproducer:

1. Navigate to /hosts
2. Navigate to /users/extlogout
3. Click the login button
4. Observe hosts page layout changed
5. Refresh the page to get the layout back

Actions #1

Updated by Ron Lavi over 4 years ago

I saw that the differences between the pages before and after the external logout is the page <html> class,

class="layout-pf layout-pf-fixed" 

vs

class="no-js" 


this is being decided in "app/views/layouts/base.html.erb" line:2
<html ..... class="<%= User.current ? "layout-pf layout-pf-fixed" : "no-js"%>">

what could have caused the User.current to be false / null,
do you have any idea for a solution? thanks

Actions #2

Updated by Maria Agaphontzev over 3 years ago

I was not able to reproduce this, is it still an issue?

Actions

Also available in: Atom PDF