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
38ff5d1a
Commit
38ff5d1a
authored
May 29, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace ui-box title with panel-heading
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
6dcbe1b4
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
45 additions
and
45 deletions
+45
-45
app/views/admin/background_jobs/show.html.haml
app/views/admin/background_jobs/show.html.haml
+1
-1
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+4
-4
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+1
-1
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+1
-1
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+4
-4
app/views/admin/users/index.html.haml
app/views/admin/users/index.html.haml
+1
-1
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+3
-3
app/views/dashboard/_groups.html.haml
app/views/dashboard/_groups.html.haml
+1
-1
app/views/dashboard/_projects.html.haml
app/views/dashboard/_projects.html.haml
+1
-1
app/views/groups/_projects.html.haml
app/views/groups/_projects.html.haml
+1
-1
app/views/groups/edit.html.haml
app/views/groups/edit.html.haml
+3
-3
app/views/groups/members.html.haml
app/views/groups/members.html.haml
+1
-1
app/views/help/index.html.haml
app/views/help/index.html.haml
+2
-2
app/views/profiles/emails/index.html.haml
app/views/profiles/emails/index.html.haml
+1
-1
app/views/profiles/groups/index.html.haml
app/views/profiles/groups/index.html.haml
+1
-1
app/views/profiles/keys/index.html.haml
app/views/profiles/keys/index.html.haml
+1
-1
app/views/profiles/keys/show.html.haml
app/views/profiles/keys/show.html.haml
+1
-1
app/views/projects/compare/show.html.haml
app/views/projects/compare/show.html.haml
+1
-1
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+4
-4
app/views/projects/hooks/index.html.haml
app/views/projects/hooks/index.html.haml
+1
-1
app/views/projects/merge_requests/_new_submit.html.haml
app/views/projects/merge_requests/_new_submit.html.haml
+1
-1
app/views/projects/merge_requests/show/_commits.html.haml
app/views/projects/merge_requests/show/_commits.html.haml
+1
-1
app/views/projects/milestones/_issues.html.haml
app/views/projects/milestones/_issues.html.haml
+1
-1
app/views/projects/milestones/show.html.haml
app/views/projects/milestones/show.html.haml
+2
-2
app/views/projects/team_members/_group_members.html.haml
app/views/projects/team_members/_group_members.html.haml
+1
-1
app/views/projects/team_members/_team.html.haml
app/views/projects/team_members/_team.html.haml
+1
-1
app/views/shared/_issues.html.haml
app/views/shared/_issues.html.haml
+1
-1
app/views/shared/_merge_requests.html.haml
app/views/shared/_merge_requests.html.haml
+1
-1
app/views/users/_profile.html.haml
app/views/users/_profile.html.haml
+1
-1
app/views/users/_projects.html.haml
app/views/users/_projects.html.haml
+1
-1
No files found.
app/views/admin/background_jobs/show.html.haml
View file @
38ff5d1a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%hr
%hr
.panel.panel-default
.panel.panel-default
.
title
Sidekiq running processes
.
panel-heading
Sidekiq running processes
.body
.body
-
if
@sidekiq_processes
.
empty?
-
if
@sidekiq_processes
.
empty?
%h4
.cred
%h4
.cred
...
...
app/views/admin/groups/show.html.haml
View file @
38ff5d1a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
.row
.row
.col-md-6
.col-md-6
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Group info:
Group info:
%ul
.well-list
%ul
.well-list
%li
%li
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
=
@group
.
created_at
.
stamp
(
"March 1, 1999"
)
=
@group
.
created_at
.
stamp
(
"March 1, 1999"
)
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Projects
Projects
%small
%small
(
#{
@group
.
projects
.
count
}
)
(
#{
@group
.
projects
.
count
}
)
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
.col-md-6
.col-md-6
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Add user(s) to the group:
Add user(s) to the group:
.body.form-holder
.body.form-holder
%p
.light
%p
.light
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
%hr
%hr
=
submit_tag
'Add users into group'
,
class:
"btn btn-create"
=
submit_tag
'Add users into group'
,
class:
"btn btn-create"
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
%strong
#{
@group
.
name
}
%strong
#{
@group
.
name
}
Group Members
Group Members
%small
%small
...
...
app/views/admin/hooks/index.html.haml
View file @
38ff5d1a
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
-
if
@hooks
.
any?
-
if
@hooks
.
any?
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
System hooks (
#{
@hooks
.
count
}
)
System hooks (
#{
@hooks
.
count
}
)
%ul
.well-list
%ul
.well-list
-
@hooks
.
each
do
|
hook
|
-
@hooks
.
each
do
|
hook
|
...
...
app/views/admin/projects/index.html.haml
View file @
38ff5d1a
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
.col-md-8
.col-md-8
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Projects (
#{
@projects
.
total_count
}
)
Projects (
#{
@projects
.
total_count
}
)
.pull-right
.pull-right
.dropdown.inline
.dropdown.inline
...
...
app/views/admin/projects/show.html.haml
View file @
38ff5d1a
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
.row
.row
.col-md-6
.col-md-6
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Project info:
Project info:
%ul
.well-list
%ul
.well-list
%li
%li
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
=
visibility_level_label
(
@project
.
visibility_level
)
=
visibility_level_label
(
@project
.
visibility_level
)
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Transfer project
Transfer project
.body
.body
=
form_for
@project
,
url:
transfer_admin_project_path
(
@project
),
method: :put
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
=
form_for
@project
,
url:
transfer_admin_project_path
(
@project
),
method: :put
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
.col-md-6
.col-md-6
-
if
@group
-
if
@group
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
%strong
#{
@group
.
name
}
%strong
#{
@group
.
name
}
group members (
#{
@group
.
users_groups
.
count
}
)
group members (
#{
@group
.
users_groups
.
count
}
)
.pull-right
.pull-right
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
=
render
'users_groups/users_group'
,
member:
member
,
show_controls:
false
=
render
'users_groups/users_group'
,
member:
member
,
show_controls:
false
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Project members
Project members
%small
%small
(
#{
@project
.
users
.
count
}
)
(
#{
@project
.
users
.
count
}
)
...
...
app/views/admin/users/index.html.haml
View file @
38ff5d1a
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
.col-md-9
.col-md-9
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Users (
#{
@users
.
total_count
}
)
Users (
#{
@users
.
total_count
}
)
.pull-right
.pull-right
=
link_to
'New User'
,
new_admin_user_path
,
class:
"btn btn-new"
=
link_to
'New User'
,
new_admin_user_path
,
class:
"btn btn-new"
...
...
app/views/admin/users/show.html.haml
View file @
38ff5d1a
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.row
.row
.col-md-6
.col-md-6
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Account:
Account:
.pull-right
.pull-right
=
image_tag
avatar_icon
(
@user
.
email
,
32
),
class:
"avatar s32"
=
image_tag
avatar_icon
(
@user
.
email
,
32
),
class:
"avatar s32"
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
.col-md-6
.col-md-6
-
if
@user
.
users_groups
.
present?
-
if
@user
.
users_groups
.
present?
.panel.panel-default
.panel.panel-default
.
title
Groups:
.
panel-heading
Groups:
%ul
.well-list
%ul
.well-list
-
@user
.
users_groups
.
each
do
|
user_group
|
-
@user
.
users_groups
.
each
do
|
user_group
|
-
group
=
user_group
.
group
-
group
=
user_group
.
group
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
%i
.icon-remove.icon-white
%i
.icon-remove.icon-white
.panel.panel-default
.panel.panel-default
.
title
Projects (
#{
@projects
.
count
}
)
.
panel-heading
Projects (
#{
@projects
.
count
}
)
%ul
.well-list
%ul
.well-list
-
@projects
.
sort_by
(
&
:name_with_namespace
).
each
do
|
project
|
-
@projects
.
sort_by
(
&
:name_with_namespace
).
each
do
|
project
|
-
tm
=
project
.
team
.
find_tm
(
@user
.
id
)
-
tm
=
project
.
team
.
find_tm
(
@user
.
id
)
...
...
app/views/dashboard/_groups.html.haml
View file @
38ff5d1a
.panel.panel-default
.panel.panel-default
.
title
.clearfix
.
panel-heading
.clearfix
=
search_field_tag
:filter_group
,
nil
,
placeholder:
'Filter by name'
,
class:
'dash-filter form-control'
=
search_field_tag
:filter_group
,
nil
,
placeholder:
'Filter by name'
,
class:
'dash-filter form-control'
-
if
current_user
.
can_create_group?
-
if
current_user
.
can_create_group?
%span
.pull-right
%span
.pull-right
...
...
app/views/dashboard/_projects.html.haml
View file @
38ff5d1a
.panel.panel-default
.panel.panel-default
.
title
.clearfix
.
panel-heading
.clearfix
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'dash-filter form-control'
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'dash-filter form-control'
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
%span
.pull-right
%span
.pull-right
...
...
app/views/groups/_projects.html.haml
View file @
38ff5d1a
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Projects (
#{
projects
.
count
}
)
Projects (
#{
projects
.
count
}
)
-
if
can?
current_user
,
:create_projects
,
@group
-
if
can?
current_user
,
:create_projects
,
@group
%span
.pull-right
%span
.pull-right
...
...
app/views/groups/edit.html.haml
View file @
38ff5d1a
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
.tab-content
.tab-content
.tab-pane.active
#tab-edit
.tab-pane.active
#tab-edit
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
%strong
=
@group
.
name
%strong
=
@group
.
name
group settings:
group settings:
%div
.form-holder
%div
.form-holder
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
.tab-pane
#tab-projects
.tab-pane
#tab-projects
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
%strong
=
@group
.
name
%strong
=
@group
.
name
projects:
projects:
-
if
can?
current_user
,
:manage_group
,
@group
-
if
can?
current_user
,
:manage_group
,
@group
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
.tab-pane
#tab-remove
.tab-pane
#tab-remove
.panel.panel-default.panel.panel-default-danger
.panel.panel-default.panel.panel-default-danger
.
title
Remove group
.
panel-heading
Remove group
.body
.body
%p
%p
Removing group will cause all child projects and resources to be removed.
Removing group will cause all child projects and resources to be removed.
...
...
app/views/groups/members.html.haml
View file @
38ff5d1a
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
=
render
"new_group_member"
=
render
"new_group_member"
.panel.panel-default.prepend-top-20
.panel.panel-default.prepend-top-20
.
title
.
panel-heading
%strong
#{
@group
.
name
}
%strong
#{
@group
.
name
}
group members
group members
%small
%small
...
...
app/views/help/index.html.haml
View file @
38ff5d1a
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
.row
.row
.col-md-4
.col-md-4
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Quick help
Quick help
%ul
.well-list
%ul
.well-list
%li
%li
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
.col-md-8
.col-md-8
.panel.panel-default.documentation
.panel.panel-default.documentation
.
title
Documentation
.
panel-heading
Documentation
=
preserve
do
=
preserve
do
-
readme_text
=
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"README.md"
))
-
readme_text
=
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"README.md"
))
...
...
app/views/profiles/emails/index.html.haml
View file @
38ff5d1a
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
%hr
%hr
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Emails (
#{
@emails
.
count
+
1
}
)
Emails (
#{
@emails
.
count
+
1
}
)
%ul
.well-list
#emails-table
%ul
.well-list
#emails-table
%li
%li
...
...
app/views/profiles/groups/index.html.haml
View file @
38ff5d1a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
Group members have access to all a group's projects
Group members have access to all a group's projects
%hr
%hr
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
%strong
Groups
%strong
Groups
(
#{
@user_groups
.
count
}
)
(
#{
@user_groups
.
count
}
)
%ul
.well-list
%ul
.well-list
...
...
app/views/profiles/keys/index.html.haml
View file @
38ff5d1a
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
SSH Keys (
#{
@keys
.
count
}
)
SSH Keys (
#{
@keys
.
count
}
)
%ul
.well-list
#keys-table
%ul
.well-list
#keys-table
=
render
@keys
=
render
@keys
...
...
app/views/profiles/keys/show.html.haml
View file @
38ff5d1a
.row
.row
.col-md-4
.col-md-4
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
SSH Key
SSH Key
%ul
.well-list
%ul
.well-list
%li
%li
...
...
app/views/projects/compare/show.html.haml
View file @
38ff5d1a
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
-
if
@commits
.
present?
-
if
@commits
.
present?
%div
.panel.panel-default
%div
.panel.panel-default
.
title
.
panel-heading
Commits (
#{
@commits
.
count
}
)
Commits (
#{
@commits
.
count
}
)
-
if
@commits
.
size
>
MergeRequestDiff
::
COMMITS_SAFE_SIZE
-
if
@commits
.
size
>
MergeRequestDiff
::
COMMITS_SAFE_SIZE
%ul
.well-list
%ul
.well-list
...
...
app/views/projects/edit.html.haml
View file @
38ff5d1a
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
.js-toggle-content.hide
.js-toggle-content.hide
-
if
can?
current_user
,
:archive_project
,
@project
-
if
can?
current_user
,
:archive_project
,
@project
.panel.panel-default.panel.panel-default-danger
.panel.panel-default.panel.panel-default-danger
.
title
.
panel-heading
-
if
@project
.
archived?
-
if
@project
.
archived?
Unarchive project
Unarchive project
-
else
-
else
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
-
if
can?
(
current_user
,
:change_namespace
,
@project
)
-
if
can?
(
current_user
,
:change_namespace
,
@project
)
.panel.panel-default.panel.panel-default-danger
.panel.panel-default.panel.panel-default-danger
.
title
Transfer project
.
panel-heading
Transfer project
.errors-holder
.errors-holder
.form-holder
.form-holder
=
form_for
(
@project
,
url:
transfer_project_path
(
@project
),
method: :put
,
remote:
true
,
html:
{
class:
'transfer-project form-horizontal'
})
do
|
f
|
=
form_for
(
@project
,
url:
transfer_project_path
(
@project
),
method: :put
,
remote:
true
,
html:
{
class:
'transfer-project form-horizontal'
})
do
|
f
|
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
.nothing-here-block
Only the project owner can transfer a project
.nothing-here-block
Only the project owner can transfer a project
.panel.panel-default.panel.panel-default-danger
.panel.panel-default.panel.panel-default-danger
.
title
Rename repository
.
panel-heading
Rename repository
.errors-holder
.errors-holder
.form-holder
.form-holder
=
form_for
(
@project
,
html:
{
class:
'form-horizontal'
})
do
|
f
|
=
form_for
(
@project
,
html:
{
class:
'form-horizontal'
})
do
|
f
|
...
@@ -178,7 +178,7 @@
...
@@ -178,7 +178,7 @@
-
if
can?
(
current_user
,
:remove_project
,
@project
)
-
if
can?
(
current_user
,
:remove_project
,
@project
)
.panel.panel-default.panel.panel-default-danger
.panel.panel-default.panel.panel-default-danger
.
title
Remove project
.
panel-heading
Remove project
.body
.body
%p
%p
Removing the project will delete its repository and all related resources including issues, merge requests etc.
Removing the project will delete its repository and all related resources including issues, merge requests etc.
...
...
app/views/projects/hooks/index.html.haml
View file @
38ff5d1a
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
-
if
@hooks
.
any?
-
if
@hooks
.
any?
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Web hooks (
#{
@hooks
.
count
}
)
Web hooks (
#{
@hooks
.
count
}
)
%ul
.well-list
%ul
.well-list
-
@hooks
.
each
do
|
hook
|
-
@hooks
.
each
do
|
hook
|
...
...
app/views/projects/merge_requests/_new_submit.html.haml
View file @
38ff5d1a
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
.mr-compare
.mr-compare
%div
.panel.panel-default
%div
.panel.panel-default
.
title
.
panel-heading
Commits (
#{
@commits
.
count
}
)
Commits (
#{
@commits
.
count
}
)
-
if
@commits
.
size
>
MergeRequestDiff
::
COMMITS_SAFE_SIZE
-
if
@commits
.
size
>
MergeRequestDiff
::
COMMITS_SAFE_SIZE
%ul
.well-list
%ul
.well-list
...
...
app/views/projects/merge_requests/show/_commits.html.haml
View file @
38ff5d1a
-
if
@commits
.
present?
-
if
@commits
.
present?
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
%i
.icon-list
%i
.icon-list
Commits (
#{
@commits
.
count
}
)
Commits (
#{
@commits
.
count
}
)
.commits
.commits
...
...
app/views/projects/milestones/_issues.html.haml
View file @
38ff5d1a
.panel.panel-default
.panel.panel-default
.
title
=
title
.
panel-heading
=
title
%ul
.well-list
%ul
.well-list
-
issues
.
each
do
|
issue
|
-
issues
.
each
do
|
issue
|
%li
%li
...
...
app/views/projects/milestones/show.html.haml
View file @
38ff5d1a
...
@@ -85,13 +85,13 @@
...
@@ -85,13 +85,13 @@
.row
.row
.col-md-6
.col-md-6
.panel.panel-default
.panel.panel-default
.
title
Open
.
panel-heading
Open
%ul
.well-list
%ul
.well-list
-
@merge_requests
.
opened
.
each
do
|
merge_request
|
-
@merge_requests
.
opened
.
each
do
|
merge_request
|
=
render
'merge_request'
,
merge_request:
merge_request
=
render
'merge_request'
,
merge_request:
merge_request
.col-md-6
.col-md-6
.panel.panel-default
.panel.panel-default
.
title
Closed
.
panel-heading
Closed
%ul
.well-list
%ul
.well-list
-
@merge_requests
.
closed
.
each
do
|
merge_request
|
-
@merge_requests
.
closed
.
each
do
|
merge_request
|
=
render
'merge_request'
,
merge_request:
merge_request
=
render
'merge_request'
,
merge_request:
merge_request
...
...
app/views/projects/team_members/_group_members.html.haml
View file @
38ff5d1a
-
group_users_count
=
@group
.
users_groups
.
count
-
group_users_count
=
@group
.
users_groups
.
count
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
%strong
#{
@group
.
name
}
%strong
#{
@group
.
name
}
group members (
#{
group_users_count
}
)
group members (
#{
group_users_count
}
)
.pull-right
.pull-right
...
...
app/views/projects/team_members/_team.html.haml
View file @
38ff5d1a
.team-table
.team-table
-
can_admin_project
=
(
can?
current_user
,
:admin_project
,
@project
)
-
can_admin_project
=
(
can?
current_user
,
:admin_project
,
@project
)
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
%strong
#{
@project
.
name
}
%strong
#{
@project
.
name
}
project members (
#{
members
.
count
}
)
project members (
#{
members
.
count
}
)
%ul
.well-list
%ul
.well-list
...
...
app/views/shared/_issues.html.haml
View file @
38ff5d1a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
-
@issues
.
group_by
(
&
:project
).
each
do
|
group
|
-
@issues
.
group_by
(
&
:project
).
each
do
|
group
|
.panel.panel-default.panel.panel-default-small
.panel.panel-default.panel.panel-default-small
-
project
=
group
[
0
]
-
project
=
group
[
0
]
.
title
.
panel-heading
=
link_to_project
project
=
link_to_project
project
=
link_to
'show all'
,
project_issues_path
(
project
),
class:
'pull-right'
=
link_to
'show all'
,
project_issues_path
(
project
),
class:
'pull-right'
...
...
app/views/shared/_merge_requests.html.haml
View file @
38ff5d1a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
-
@merge_requests
.
group_by
(
&
:target_project
).
each
do
|
group
|
-
@merge_requests
.
group_by
(
&
:target_project
).
each
do
|
group
|
.panel.panel-default.panel.panel-default-small
.panel.panel-default.panel.panel-default-small
-
project
=
group
[
0
]
-
project
=
group
[
0
]
.
title
.
panel-heading
=
link_to_project
project
=
link_to_project
project
=
link_to
'show all'
,
project_merge_requests_path
(
project
),
class:
'pull-right'
=
link_to
'show all'
,
project_merge_requests_path
(
project
),
class:
'pull-right'
%ul
.well-list.mr-list
%ul
.well-list.mr-list
...
...
app/views/users/_profile.html.haml
View file @
38ff5d1a
.panel.panel-default
.panel.panel-default
.
title
.
panel-heading
Profile
Profile
%ul
.well-list
%ul
.well-list
%li
%li
...
...
app/views/users/_projects.html.haml
View file @
38ff5d1a
.panel.panel-default
.panel.panel-default
.
title
Projects
.
panel-heading
Projects
%ul
.well-list
%ul
.well-list
-
@projects
.
each
do
|
project
|
-
@projects
.
each
do
|
project
|
%li
%li
...
...
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