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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
703ea298
Commit
703ea298
authored
Feb 29, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy html
parent
237290bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
30 deletions
+18
-30
app/views/users/show.html.haml
app/views/users/show.html.haml
+18
-30
No files found.
app/views/users/show.html.haml
View file @
703ea298
...
@@ -70,22 +70,22 @@
...
@@ -70,22 +70,22 @@
=
@user
.
location
=
@user
.
location
%ul
.nav-links.center
%ul
.nav-links.center
%li
.active
%li
.activ
ity-tab.activ
e
=
link_to
"#activity"
,
'data-toggle'
=>
'tab'
do
=
link_to
user_calendar_activities_path
,
data:
{
target:
'div#activity'
,
action:
'activity'
,
toggle:
'tab'
}
do
Activity
Activity
%li
%li
.groups-tab
=
link_to
"#groups"
,
'data-toggle'
=>
'tab'
do
=
link_to
user_groups_path
,
data:
{
target:
'div#groups'
,
action:
'groups'
,
toggle:
'tab'
}
do
Groups
Groups
%li
%li
.contributed-tab
=
link_to
"#contributed"
,
'data-toggle'
=>
'tab'
do
=
link_to
user_contributed_projects_path
,
data:
{
target:
'div#contributed'
,
action:
'contributed'
,
toggle:
'tab'
}
do
Contributed projects
Contributed projects
%li
%li
.personal-tab
=
link_to
"#personal"
,
'data-toggle'
=>
'tab'
do
=
link_to
user_projects_path
,
data:
{
target:
'div#personal'
,
action:
'personal'
,
toggle:
'tab'
}
do
Personal projects
Personal projects
%div
{
class:
container_class
}
%div
{
class:
container_class
}
.tab-content
.tab-content
.tab-pane.active
#activity
#activity
.tab-pane.active
.gray-content-block.white.second-block
.gray-content-block.white.second-block
%div
{
class:
container_class
}
%div
{
class:
container_class
}
.user-calendar
.user-calendar
...
@@ -93,32 +93,20 @@
...
@@ -93,32 +93,20 @@
%i
.fa.fa-spinner.fa-spin
%i
.fa.fa-spinner.fa-spin
.user-calendar-activities
.user-calendar-activities
.content_list
.content_list
=
spinner
=
spinner
.tab-pane
#groups
#groups
.tab-pane
%ul
.content-list.user-groups
-
# This tab is always loaded via AJAX
%h4
.center.light
%i
.fa.fa-spinner.fa-spin
.tab-pane
#contributed
#contributed
.tab-pane
.contributed-projects
-
# This tab is always loaded via AJAX
%h4
.center.light
%i
.fa.fa-spinner.fa-spin
.tab-pane
#personal
#personal
.tab-pane
.personal-projects
-
# This tab is always loaded via AJAX
%h4
.center.light
%i
.fa.fa-spinner.fa-spin
.loading-status
=
spinner
:javascript
:javascript
$
(
'
.nav-links
'
).
stickyTabs
();
$
(
"
.user-calendar
"
).
load
(
"
#{
user_calendar_path
}
"
);
$
(
"
.user-calendar
"
).
load
(
"
#{
user_calendar_path
}
"
);
$
(
"
.user-groups
"
).
load
(
"
#{
user_groups_path
}
"
);
$
(
"
.contributed-projects
"
).
load
(
"
#{
user_contributed_projects_path
}
"
);
$
(
"
.personal-projects
"
).
load
(
"
#{
user_projects_path
}
"
);
$
(
"
body
"
).
on
(
"
ajax:success
"
,
function
(
e
,
data
,
status
,
xhr
)
{
$
(
"
.personal-projects
"
).
html
(
xhr
.
responseText
)
});
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