Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
b20f4135
Commit
b20f4135
authored
May 25, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix active sessions card layout
parent
5322de32
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
app/views/profiles/active_sessions/_active_session.html.haml
app/views/profiles/active_sessions/_active_session.html.haml
+1
-1
app/views/profiles/active_sessions/index.html.haml
app/views/profiles/active_sessions/index.html.haml
+3
-2
No files found.
app/views/profiles/active_sessions/_active_session.html.haml
View file @
b20f4135
-
is_current_session
=
active_session
.
current?
(
session
)
-
is_current_session
=
active_session
.
current?
(
session
)
%li
%li
.list-group-item
.pull-left.append-right-10
{
data:
{
toggle:
'tooltip'
},
title:
active_session
.
human_device_type
}
.pull-left.append-right-10
{
data:
{
toggle:
'tooltip'
},
title:
active_session
.
human_device_type
}
=
active_session_device_type_icon
(
active_session
)
=
active_session_device_type_icon
(
active_session
)
...
...
app/views/profiles/active_sessions/index.html.haml
View file @
b20f4135
...
@@ -10,5 +10,6 @@
...
@@ -10,5 +10,6 @@
.col-lg-8
.col-lg-8
.append-bottom-default
.append-bottom-default
%ul
.well-list
.card.border-0
%ul
.list-group.list-group-flush
=
render
partial:
'profiles/active_sessions/active_session'
,
collection:
@sessions
=
render
partial:
'profiles/active_sessions/active_session'
,
collection:
@sessions
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment