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
Jérome Perrin
gitlab-ce
Commits
9c535603
Commit
9c535603
authored
Jul 15, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/project-export-filename
parents
65549a58
50abec8c
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
53 additions
and
65 deletions
+53
-65
CHANGELOG
CHANGELOG
+1
-0
app/assets/javascripts/users_select.js.coffee
app/assets/javascripts/users_select.js.coffee
+5
-1
app/assets/stylesheets/framework/blocks.scss
app/assets/stylesheets/framework/blocks.scss
+6
-0
app/assets/stylesheets/pages/admin.scss
app/assets/stylesheets/pages/admin.scss
+1
-7
app/assets/stylesheets/pages/groups.scss
app/assets/stylesheets/pages/groups.scss
+0
-27
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+4
-0
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+1
-1
app/helpers/search_helper.rb
app/helpers/search_helper.rb
+1
-1
app/views/admin/groups/_group.html.haml
app/views/admin/groups/_group.html.haml
+23
-17
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-1
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+1
-1
app/views/admin/users/_user.html.haml
app/views/admin/users/_user.html.haml
+1
-1
app/views/dashboard/projects/_zero_authorized_projects.html.haml
...ws/dashboard/projects/_zero_authorized_projects.html.haml
+2
-2
app/views/errors/access_denied.html.haml
app/views/errors/access_denied.html.haml
+1
-1
app/views/groups/group_members/_new_group_member.html.haml
app/views/groups/group_members/_new_group_member.html.haml
+1
-1
app/views/projects/project_members/_new_project_member.html.haml
...ws/projects/project_members/_new_project_member.html.haml
+1
-1
app/views/projects/protected_branches/index.html.haml
app/views/projects/protected_branches/index.html.haml
+2
-2
app/views/shared/issuable/_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+1
-1
No files found.
CHANGELOG
View file @
9c535603
...
@@ -35,6 +35,7 @@ v 8.10.0 (unreleased)
...
@@ -35,6 +35,7 @@ v 8.10.0 (unreleased)
- Fix pagination when sorting by columns with lots of ties (like priority)
- Fix pagination when sorting by columns with lots of ties (like priority)
- The Markdown reference parsers now re-use query results to prevent running the same queries multiple times !5020
- The Markdown reference parsers now re-use query results to prevent running the same queries multiple times !5020
- Updated project header design
- Updated project header design
- Issuable collapsed assignee tooltip is now the users name
- Exclude email check from the standard health check
- Exclude email check from the standard health check
- Updated layout for Projects, Groups, Users on Admin area !4424
- Updated layout for Projects, Groups, Users on Admin area !4424
- Fix changing issue state columns in milestone view
- Fix changing issue state columns in milestone view
...
...
app/assets/javascripts/users_select.js.coffee
View file @
9c535603
...
@@ -56,6 +56,11 @@ class @UsersSelect
...
@@ -56,6 +56,11 @@ class @UsersSelect
username
:
''
username
:
''
avatar
:
''
avatar
:
''
$value
.
html
(
assigneeTemplate
(
user
))
$value
.
html
(
assigneeTemplate
(
user
))
$collapsedSidebar
.
attr
(
'title'
,
user
.
name
)
.
tooltip
(
'fixTitle'
)
$collapsedSidebar
.
html
(
collapsedAssigneeTemplate
(
user
))
$collapsedSidebar
.
html
(
collapsedAssigneeTemplate
(
user
))
...
@@ -63,7 +68,6 @@ class @UsersSelect
...
@@ -63,7 +68,6 @@ class @UsersSelect
'<% if( avatar ) { %>
'<% if( avatar ) { %>
<a class="author_link" href="/u/<%- username %>">
<a class="author_link" href="/u/<%- username %>">
<img width="24" class="avatar avatar-inline s24" alt="" src="<%- avatar %>">
<img width="24" class="avatar avatar-inline s24" alt="" src="<%- avatar %>">
<span class="author">Toni Boehm</span>
</a>
</a>
<% } else { %>
<% } else { %>
<i class="fa fa-user"></i>
<i class="fa fa-user"></i>
...
...
app/assets/stylesheets/framework/blocks.scss
View file @
9c535603
...
@@ -16,8 +16,14 @@
...
@@ -16,8 +16,14 @@
font-weight
:
normal
;
font-weight
:
normal
;
font-size
:
16px
;
font-size
:
16px
;
line-height
:
36px
;
line-height
:
36px
;
&
.diff-collapsed
{
&
.diff-collapsed
{
padding
:
5px
;
cursor
:
pointer
;
cursor
:
pointer
;
&
:hover
{
background-color
:
$row-hover
;
}
}
}
}
}
...
...
app/assets/stylesheets/pages/admin.scss
View file @
9c535603
...
@@ -88,13 +88,7 @@
...
@@ -88,13 +88,7 @@
.user-name
{
.user-name
{
display
:
inline-block
;
display
:
inline-block
;
font-weight
:
bold
;
font-weight
:
600
;
}
.controls
{
>
.btn
,
>
.dropdown
{
margin-left
:
5px
;
}
}
}
.dropdown
{
.dropdown
{
...
...
app/assets/stylesheets/pages/groups.scss
View file @
9c535603
...
@@ -38,33 +38,6 @@
...
@@ -38,33 +38,6 @@
margin-right
:
15px
;
margin-right
:
15px
;
}
}
}
}
&
.group-admin
{
display
:
-
webkit-flex
;
display
:
-
ms-flexbox
;
display
:
flex
;
.group-avatar
,
.group-details
,
.group-controls
{
display
:
-
webkit-flex
;
display
:
-
ms-flexbox
;
display
:
flex
;
}
.group-details
{
flex
:
1
1
auto
;
flex-direction
:
column
;
min-width
:
0
;
}
.group-controls
{
align-items
:
center
;
a
{
margin-left
:
5px
;
}
}
}
}
}
.ldap-group-links
{
.ldap-group-links
{
...
...
app/assets/stylesheets/pages/projects.scss
View file @
9c535603
...
@@ -482,6 +482,10 @@ pre.light-well {
...
@@ -482,6 +482,10 @@ pre.light-well {
a
:hover
{
a
:hover
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
>
span
{
margin-left
:
10px
;
}
}
}
}
}
...
...
app/assets/stylesheets/pages/search.scss
View file @
9c535603
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
padding-right
:
$gl-padding
+
15px
;
padding-right
:
$gl-padding
+
15px
;
}
}
.btn-search
{
.btn-search
,
.btn-new
{
width
:
100%
;
width
:
100%
;
margin-top
:
5px
;
margin-top
:
5px
;
...
...
app/helpers/search_helper.rb
View file @
9c535603
...
@@ -45,7 +45,7 @@ module SearchHelper
...
@@ -45,7 +45,7 @@ module SearchHelper
[
[
{
category:
"Help"
,
label:
"API Help"
,
url:
help_page_path
(
"api/README"
)
},
{
category:
"Help"
,
label:
"API Help"
,
url:
help_page_path
(
"api/README"
)
},
{
category:
"Help"
,
label:
"Markdown Help"
,
url:
help_page_path
(
"markdown/markdown"
)
},
{
category:
"Help"
,
label:
"Markdown Help"
,
url:
help_page_path
(
"markdown/markdown"
)
},
{
category:
"Help"
,
label:
"Permissions Help"
,
url:
help_page_path
(
"
permissions
/permissions"
)
},
{
category:
"Help"
,
label:
"Permissions Help"
,
url:
help_page_path
(
"
user
/permissions"
)
},
{
category:
"Help"
,
label:
"Public Access Help"
,
url:
help_page_path
(
"public_access/public_access"
)
},
{
category:
"Help"
,
label:
"Public Access Help"
,
url:
help_page_path
(
"public_access/public_access"
)
},
{
category:
"Help"
,
label:
"Rake Tasks Help"
,
url:
help_page_path
(
"raketasks/README"
)
},
{
category:
"Help"
,
label:
"Rake Tasks Help"
,
url:
help_page_path
(
"raketasks/README"
)
},
{
category:
"Help"
,
label:
"SSH Keys Help"
,
url:
help_page_path
(
"ssh/README"
)
},
{
category:
"Help"
,
label:
"SSH Keys Help"
,
url:
help_page_path
(
"ssh/README"
)
},
...
...
app/views/admin/groups/_group.html.haml
View file @
9c535603
-
css_class
=
'
'
unless
local_assigns
[
:css_class
]
-
css_class
=
'
no-description'
if
group
.
description
.
blank?
%li
.group-row.group-admin
{
class:
css_class
}
%li
.group-row
{
class:
css_class
}
.group-avatar
.controls
=
image_tag
group_icon
(
group
),
class:
'avatar hidden-xs'
=
link_to
'Edit'
,
edit_admin_group_path
(
group
),
id:
"edit_
#{
dom_id
(
group
)
}
"
,
class:
'btn'
.group-details
=
link_to
'Delete'
,
[
:admin
,
group
],
data:
{
confirm:
"Are you sure you want to remove
#{
group
.
name
}
?"
},
method: :delete
,
class:
'btn btn-remove'
.stats
%span
=
icon
(
'bookmark'
)
=
number_with_delimiter
(
group
.
projects
.
count
)
%span
=
icon
(
'users'
)
=
number_with_delimiter
(
group
.
users
.
count
)
%span
.visibility-icon.has-tooltip
{
data:
{
container:
'body'
,
placement:
'left'
},
title:
visibility_icon_description
(
group
)}
=
visibility_level_icon
(
group
.
visibility_level
,
fw:
false
)
=
image_tag
group_icon
(
group
),
class:
"avatar s40 hidden-xs"
.title
.title
=
link_to
[
:admin
,
group
],
class:
'group-name'
do
=
link_to
[
:admin
,
group
],
class:
'group-name'
do
=
group
.
name
=
group
.
name
.group-stats
%span
>=
pluralize
(
number_with_delimiter
(
group
.
projects
.
count
),
'project'
)
,
%span
=
pluralize
(
number_with_delimiter
(
group
.
users
.
count
),
'member'
)
-
if
group
.
description
.
present?
-
if
group
.
description
.
present?
.description
.description
=
markdown
(
group
.
description
,
pipeline: :description
)
=
markdown
(
group
.
description
,
pipeline: :description
)
.group-controls.hidden-xs
=
link_to
'Edit'
,
edit_admin_group_path
(
group
),
id:
"edit_
#{
dom_id
(
group
)
}
"
,
class:
'btn'
=
link_to
'Delete'
,
[
:admin
,
group
],
data:
{
confirm:
"Are you sure you want to remove
#{
group
.
name
}
?"
},
method: :delete
,
class:
'btn btn-remove'
app/views/admin/groups/show.html.haml
View file @
9c535603
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
.panel-body.form-holder
.panel-body.form-holder
%p
.light
%p
.light
Read more about project permissions
Read more about project permissions
%strong
=
link_to
"here"
,
help_page_path
(
"
permissions
/permissions"
),
class:
"vlink"
%strong
=
link_to
"here"
,
help_page_path
(
"
user
/permissions"
),
class:
"vlink"
=
form_tag
members_update_admin_group_path
(
@group
),
id:
"new_project_member"
,
class:
"bulk_import"
,
method: :put
do
=
form_tag
members_update_admin_group_path
(
@group
),
id:
"new_project_member"
,
class:
"bulk_import"
,
method: :put
do
%div
%div
...
...
app/views/admin/projects/index.html.haml
View file @
9c535603
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
%ul
.projects-list.content-list
%ul
.projects-list.content-list
-
@projects
.
each_with_index
do
|
project
|
-
@projects
.
each_with_index
do
|
project
|
%li
.project-row
%li
.project-row
.controls
.pull-right
.controls
-
if
project
.
archived
-
if
project
.
archived
%span
.label.label-warning
archived
%span
.label.label-warning
archived
%span
.label.label-gray
%span
.label.label-gray
...
...
app/views/admin/users/_user.html.haml
View file @
9c535603
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
%span
It's you!
%span
It's you!
.user-email
.user-email
=
mail_to
user
.
email
,
user
.
email
=
mail_to
user
.
email
,
user
.
email
.controls
.pull-right
.controls
=
link_to
'Edit'
,
edit_admin_user_path
(
user
),
id:
"edit_
#{
dom_id
(
user
)
}
"
,
class:
'btn'
=
link_to
'Edit'
,
edit_admin_user_path
(
user
),
id:
"edit_
#{
dom_id
(
user
)
}
"
,
class:
'btn'
-
unless
user
==
current_user
-
unless
user
==
current_user
.dropdown.inline
.dropdown.inline
...
...
app/views/dashboard/projects/_zero_authorized_projects.html.haml
View file @
9c535603
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
Code, test, and deploy together
Code, test, and deploy together
.blank-state
.blank-state
.blank-state-icon
.blank-state-icon
=
navbar
_icon
(
"project"
,
size:
50
)
=
custom
_icon
(
"project"
,
size:
50
)
%h3
.blank-state-title
%h3
.blank-state-title
You don't have access to any projects right now
You don't have access to any projects right now
%p
.blank-state-text
%p
.blank-state-text
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
-
if
current_user
.
can_create_group?
-
if
current_user
.
can_create_group?
.blank-state
.blank-state
.blank-state-icon
.blank-state-icon
=
navbar
_icon
(
"group"
,
size:
50
)
=
custom
_icon
(
"group"
,
size:
50
)
%h3
.blank-state-title
%h3
.blank-state-title
You can create a group for several dependent projects.
You can create a group for several dependent projects.
%p
.blank-state-text
%p
.blank-state-text
...
...
app/views/errors/access_denied.html.haml
View file @
9c535603
...
@@ -3,4 +3,4 @@
...
@@ -3,4 +3,4 @@
%h3
Access Denied
%h3
Access Denied
%hr
%hr
%p
You are not allowed to access this page.
%p
You are not allowed to access this page.
%p
Read more about project permissions
#{
link_to
"here"
,
help_page_path
(
"
permissions
/permissions"
),
class:
"vlink"
}
%p
Read more about project permissions
#{
link_to
"here"
,
help_page_path
(
"
user
/permissions"
),
class:
"vlink"
}
app/views/groups/group_members/_new_group_member.html.haml
View file @
9c535603
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
=
select_tag
:access_level
,
options_for_select
(
GroupMember
.
access_level_roles
,
@group_member
.
access_level
),
class:
"project-access-select select2"
=
select_tag
:access_level
,
options_for_select
(
GroupMember
.
access_level_roles
,
@group_member
.
access_level
),
class:
"project-access-select select2"
.help-block
.help-block
Read more about role permissions
Read more about role permissions
%strong
=
link_to
"here"
,
help_page_path
(
"
permissions
/permissions"
),
class:
"vlink"
%strong
=
link_to
"here"
,
help_page_path
(
"
user
/permissions"
),
class:
"vlink"
.form-actions
.form-actions
=
f
.
submit
'Add users to group'
,
class:
"btn btn-create"
=
f
.
submit
'Add users to group'
,
class:
"btn btn-create"
app/views/projects/project_members/_new_project_member.html.haml
View file @
9c535603
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
=
select_tag
:access_level
,
options_for_select
(
ProjectMember
.
access_level_roles
,
@project_member
.
access_level
),
class:
"project-access-select select2"
=
select_tag
:access_level
,
options_for_select
(
ProjectMember
.
access_level_roles
,
@project_member
.
access_level
),
class:
"project-access-select select2"
.help-block
.help-block
Read more about role permissions
Read more about role permissions
%strong
=
link_to
"here"
,
help_page_path
(
"
permissions
/permissions"
),
class:
"vlink"
%strong
=
link_to
"here"
,
help_page_path
(
"
user
/permissions"
),
class:
"vlink"
.form-actions
.form-actions
=
f
.
submit
'Add users to project'
,
class:
"btn btn-create"
=
f
.
submit
'Add users to project'
,
class:
"btn btn-create"
app/views/projects/protected_branches/index.html.haml
View file @
9c535603
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
%p
.prepend-top-20
%p
.prepend-top-20
Protected branches are designed to:
Protected branches are designed to:
%ul
%ul
%li
prevent pushes from everybody except
#{
link_to
"masters"
,
help_page_path
(
"
permissions
/permissions"
),
class:
"vlink"
}
%li
prevent pushes from everybody except
#{
link_to
"masters"
,
help_page_path
(
"
user
/permissions"
),
class:
"vlink"
}
%li
prevent anyone from force pushing to the branch
%li
prevent anyone from force pushing to the branch
%li
prevent anyone from deleting the branch
%li
prevent anyone from deleting the branch
%p
.append-bottom-0
Read more about
#{
link_to
"project permissions"
,
help_page_path
(
"
permissions
/permissions"
),
class:
"underlined-link"
}
%p
.append-bottom-0
Read more about
#{
link_to
"project permissions"
,
help_page_path
(
"
user
/permissions"
),
class:
"underlined-link"
}
.col-lg-9
.col-lg-9
%h5
.prepend-top-0
%h5
.prepend-top-0
Protect a branch
Protect a branch
...
...
app/views/shared/issuable/_sidebar.html.haml
View file @
9c535603
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issuable
],
remote:
true
,
format: :json
,
html:
{
class:
'issuable-context-form inline-update js-issuable-update'
}
do
|
f
|
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
issuable
],
remote:
true
,
format: :json
,
html:
{
class:
'issuable-context-form inline-update js-issuable-update'
}
do
|
f
|
.block.assignee
.block.assignee
.sidebar-collapsed-icon.sidebar-collapsed-user
{
data:
{
toggle:
"tooltip"
,
placement:
"left"
,
container:
"body"
},
title:
(
issuable
.
assignee
.
to_referenc
e
if
issuable
.
assignee
)}
.sidebar-collapsed-icon.sidebar-collapsed-user
{
data:
{
toggle:
"tooltip"
,
placement:
"left"
,
container:
"body"
},
title:
(
issuable
.
assignee
.
nam
e
if
issuable
.
assignee
)}
-
if
issuable
.
assignee
-
if
issuable
.
assignee
=
link_to_member
(
@project
,
issuable
.
assignee
,
size:
24
)
=
link_to_member
(
@project
,
issuable
.
assignee
,
size:
24
)
-
else
-
else
...
...
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