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
iv
gitlab-ce
Commits
5bb7fa1b
Commit
5bb7fa1b
authored
May 19, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redesign project page header
parent
5ba52693
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
208 additions
and
119 deletions
+208
-119
app/assets/stylesheets/framework/avatar.scss
app/assets/stylesheets/framework/avatar.scss
+1
-0
app/assets/stylesheets/framework/blocks.scss
app/assets/stylesheets/framework/blocks.scss
+5
-6
app/assets/stylesheets/framework/mobile.scss
app/assets/stylesheets/framework/mobile.scss
+0
-4
app/assets/stylesheets/framework/nav.scss
app/assets/stylesheets/framework/nav.scss
+9
-0
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+2
-2
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+119
-36
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+1
-1
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+27
-27
app/views/projects/buttons/_dropdown.html.haml
app/views/projects/buttons/_dropdown.html.haml
+1
-1
app/views/projects/buttons/_notifications.html.haml
app/views/projects/buttons/_notifications.html.haml
+3
-3
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+39
-38
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/avatar.scss
View file @
5bb7fa1b
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
&
.s32
{
font-size
:
20px
;
line-height
:
32px
;
}
&
.s32
{
font-size
:
20px
;
line-height
:
32px
;
}
&
.s40
{
font-size
:
16px
;
line-height
:
40px
;
}
&
.s40
{
font-size
:
16px
;
line-height
:
40px
;
}
&
.s60
{
font-size
:
32px
;
line-height
:
60px
;
}
&
.s60
{
font-size
:
32px
;
line-height
:
60px
;
}
&
.s70
{
font-size
:
34px
;
line-height
:
70px
;
}
&
.s90
{
font-size
:
36px
;
line-height
:
90px
;
}
&
.s90
{
font-size
:
36px
;
line-height
:
90px
;
}
&
.s110
{
font-size
:
40px
;
line-height
:
112px
;
font-weight
:
300
;
}
&
.s110
{
font-size
:
40px
;
line-height
:
112px
;
font-weight
:
300
;
}
&
.s140
{
font-size
:
72px
;
line-height
:
140px
;
}
&
.s140
{
font-size
:
72px
;
line-height
:
140px
;
}
...
...
app/assets/stylesheets/framework/blocks.scss
View file @
5bb7fa1b
...
@@ -24,8 +24,8 @@
...
@@ -24,8 +24,8 @@
background-color
:
$background-color
;
background-color
:
$background-color
;
padding
:
$gl-padding
;
padding
:
$gl-padding
;
margin-bottom
:
0
;
margin-bottom
:
0
;
border-top
:
1px
solid
$
border-color
;
border-top
:
1px
solid
$
white-dark
;
border-bottom
:
1px
solid
$
border-color
;
border-bottom
:
1px
solid
$
white-dark
;
color
:
$gl-gray
;
color
:
$gl-gray
;
&
.oneline-block
{
&
.oneline-block
{
...
@@ -110,9 +110,9 @@
...
@@ -110,9 +110,9 @@
.cover-title
{
.cover-title
{
color
:
$gl-header-color
;
color
:
$gl-header-color
;
margin
:
0
;
margin
:
0
;
font-size
:
2
3
px
;
font-size
:
2
4
px
;
font-weight
:
normal
;
font-weight
:
normal
;
margin
:
16px
0
5px
;
margin
-bottom
:
5px
;
color
:
#4c4e54
;
color
:
#4c4e54
;
font-size
:
23px
;
font-size
:
23px
;
line-height
:
1
.1
;
line-height
:
1
.1
;
...
@@ -137,7 +137,6 @@
...
@@ -137,7 +137,6 @@
}
}
.cover-desc
{
.cover-desc
{
padding
:
0
$gl-padding
3px
;
color
:
$gl-text-color
;
color
:
$gl-text-color
;
&
.username
:last-child
{
&
.username
:last-child
{
...
@@ -205,7 +204,7 @@
...
@@ -205,7 +204,7 @@
.content-block
{
.content-block
{
padding
:
$gl-padding
0
;
padding
:
$gl-padding
0
;
border-bottom
:
1px
solid
$
border-color
;
border-bottom
:
1px
solid
$
white-dark
;
&
.oneline-block
{
&
.oneline-block
{
line-height
:
36px
;
line-height
:
36px
;
...
...
app/assets/stylesheets/framework/mobile.scss
View file @
5bb7fa1b
...
@@ -48,10 +48,6 @@
...
@@ -48,10 +48,6 @@
display
:
block
;
display
:
block
;
}
}
.project-home-desc
{
font-size
:
21px
;
}
.project-repo-buttons
,
.project-repo-buttons
,
.git-clone-holder
{
.git-clone-holder
{
display
:
none
;
display
:
none
;
...
...
app/assets/stylesheets/framework/nav.scss
View file @
5bb7fa1b
...
@@ -250,6 +250,11 @@
...
@@ -250,6 +250,11 @@
height
:
51px
;
height
:
51px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow-x
:
auto
;
overflow-x
:
auto
;
overflow-y
:
hidden
;
-webkit-overflow-scrolling
:
touch
;
&
:
:-
webkit-scrollbar
{
display
:
none
;
}
li
{
li
{
...
@@ -283,4 +288,8 @@
...
@@ -283,4 +288,8 @@
margin-top
:
96px
;
margin-top
:
96px
;
}
}
}
}
.right-sidebar
{
top
:
102px
;
}
}
}
app/assets/stylesheets/framework/variables.scss
View file @
5bb7fa1b
...
@@ -119,8 +119,8 @@ $border-white-light: #f1f2f4;
...
@@ -119,8 +119,8 @@ $border-white-light: #f1f2f4;
$border-white-normal
:
#d6dae2
;
$border-white-normal
:
#d6dae2
;
$border-white-dark
:
#c6cacf
;
$border-white-dark
:
#c6cacf
;
$border-gray-light
:
rgba
(
0
,
0
,
0
,
0
.06
);
$border-gray-light
:
rgba
(
209
,
209
,
209
,
0
.70
);
$border-gray-normal
:
rgba
(
0
,
0
,
0
,
0
.10
);
;
$border-gray-normal
:
rgba
(
0
,
0
,
0
,
0
.10
);
$border-gray-dark
:
#c6cacf
;
$border-gray-dark
:
#c6cacf
;
$border-green-light
:
#2faa60
;
$border-green-light
:
#2faa60
;
...
...
app/assets/stylesheets/pages/projects.scss
View file @
5bb7fa1b
...
@@ -26,8 +26,13 @@
...
@@ -26,8 +26,13 @@
}
}
.project-home-panel
{
.project-home-panel
{
padding-bottom
:
40px
;
background
:
$white-light
;
border-bottom
:
1px
solid
$border-color
;
text-align
:
left
;
padding
:
24px
0
;
.container-fluid
{
position
:
relative
;
}
.cover-controls
{
.cover-controls
{
.project-settings-dropdown
{
.project-settings-dropdown
{
...
@@ -43,21 +48,50 @@
...
@@ -43,21 +48,50 @@
}
}
}
}
.project-identicon-holder
{
.project-image-container
{
margin-bottom
:
16px
;
@include
make-sm-column
(
1
);
max-width
:
86px
;
min-width
:
86px
;
padding-right
:
0
;
.avatar
,
.identicon
{
@media
(
max-width
:
$screen-md-max
)
{
margin
:
0
auto
;
padding-left
:
0
;
float
:
none
;
margin-bottom
:
10px
;
max-width
:
none
;
min-width
:
none
;
.avatar.s70
{
margin
:
auto
;
}
}
}
}
.identicon
{
.project-info
{
@include
border-radius
(
50%
);
@include
make-sm-column
(
10
);
h1
{
font-size
:
24px
;
font-weight
:
normal
;
margin
:
0
;
}
.project-home-desc
{
p
{
margin
:
0
;
}
}
}
}
}
.identicon
{
float
:
left
;
@include
border-radius
(
50%
);
}
.avatar
{
float
:
none
;
}
.notifications-btn
{
.notifications-btn
{
margin-top
:
-28px
;
.fa-bell
{
.fa-bell
{
margin-right
:
6px
;
margin-right
:
6px
;
...
@@ -69,28 +103,45 @@
...
@@ -69,28 +103,45 @@
}
}
.project-repo-buttons
{
.project-repo-buttons
{
margin-top
:
20px
;
font-size
:
0
;
margin-bottom
:
0
;
.count-buttons
{
.btn
{
display
:
block
;
@include
btn-gray
;
margin-bottom
:
20px
;
padding
:
3px
10px
;
}
text-transform
:
none
;
background-color
:
$background-color
;
.clone-row
{
.fa
{
.split-repo-buttons
,
color
:
$layout-link-gray
;
.project-clone-holder
{
display
:
inline-block
;
}
}
.
split-repo-buttons
{
.
fa-caret-down
{
margin
:
0
12
px
;
margin
-left
:
3
px
;
}
}
}
}
.btn
{
.btn-group
:not
(
:first-child
)
:not
(
:last-child
)
>
.btn
{
@include
btn-gray
;
border-top-right-radius
:
3px
;
text-transform
:
none
;
border-bottom-right-radius
:
3px
;
}
form
{
margin-left
:
10px
;
}
.count-buttons
{
display
:
inline-block
;
vertical-align
:
top
;
margin-top
:
16px
;
}
.project-clone-holder
{
display
:
inline-block
;
margin-top
:
16px
;
input
{
height
:
29px
;
}
}
}
.count-with-arrow
{
.count-with-arrow
{
...
@@ -140,14 +191,14 @@
...
@@ -140,14 +191,14 @@
line-height
:
13px
;
line-height
:
13px
;
padding
:
$gl-vert-padding
$gl-padding
;
padding
:
$gl-vert-padding
$gl-padding
;
letter-spacing
:
.4px
;
letter-spacing
:
.4px
;
padding
:
10
px
14px
;
padding
:
7
px
14px
;
text-align
:
center
;
text-align
:
center
;
vertical-align
:
middle
;
vertical-align
:
middle
;
touch-action
:
manipulation
;
touch-action
:
manipulation
;
cursor
:
pointer
;
cursor
:
pointer
;
background-image
:
none
;
background-image
:
none
;
white-space
:
nowrap
;
white-space
:
nowrap
;
margin
:
0
1
1
px
0
4px
;
margin
:
0
1
0
px
0
4px
;
&
:hover
{
&
:hover
{
background
:
#fff
;
background
:
#fff
;
...
@@ -155,6 +206,30 @@
...
@@ -155,6 +206,30 @@
}
}
}
}
}
}
.project-right-buttons
{
position
:
absolute
;
right
:
16px
;
bottom
:
0
;
.btn
{
padding
:
3px
10px
;
background-color
:
$background-color
;
}
@media
(
max-width
:
1304px
)
{
top
:
-6px
;
}
}
@media
(
max-width
:
$screen-md-max
)
{
text-align
:
center
;
.project-info
,
.project-image-container
{
width
:
100%
;
}
}
}
}
.split-one
{
.split-one
{
...
@@ -285,11 +360,11 @@ a.deploy-project-label {
...
@@ -285,11 +360,11 @@ a.deploy-project-label {
}
}
.project-stats
{
.project-stats
{
text-align
:
center
;
margin-top
:
$gl-padding
;
margin-top
:
$gl-padding
;
margin-bottom
:
0
;
margin-bottom
:
0
;
padding-top
:
10px
;
padding
:
16px
0
;
padding-bottom
:
4px
;
background-color
:
$white-light
;
font-size
:
0
;
ul
.nav
{
ul
.nav
{
display
:
inline-block
;
display
:
inline-block
;
...
@@ -300,12 +375,11 @@ a.deploy-project-label {
...
@@ -300,12 +375,11 @@ a.deploy-project-label {
}
}
.nav
>
li
>
a
{
.nav
>
li
>
a
{
@include
btn-default
;
@include
btn-gray
;
background-color
:
transparent
;
background-color
:
transparent
;
border
:
1px
solid
#f7f8fa
;
margin-right
:
12px
;
margin-left
:
12px
;
padding
:
0
10px
;
font-size
:
15px
;
color
:
$notes-light-color
;
}
}
li
{
li
{
...
@@ -325,6 +399,10 @@ a.deploy-project-label {
...
@@ -325,6 +399,10 @@ a.deploy-project-label {
background-color
:
#f0f2f5
;
background-color
:
#f0f2f5
;
}
}
}
}
&
.row-content-block.second-block
{
margin-top
:
0
;
}
}
}
pre
.light-well
{
pre
.light-well
{
...
@@ -442,9 +520,14 @@ pre.light-well {
...
@@ -442,9 +520,14 @@ pre.light-well {
border-top
:
0
;
border-top
:
0
;
.edit-project-readme
{
.edit-project-readme
{
z-index
:
100
;
z-index
:
2
;
position
:
relative
;
position
:
relative
;
}
}
.wiki
h1
{
border-bottom
:
none
;
padding
:
0
;
}
}
}
.git-clone-holder
{
.git-clone-holder
{
...
...
app/views/layouts/nav/_project.html.haml
View file @
5bb7fa1b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.controls
.controls
-
access
=
user_max_access_in_project
(
current_user
.
id
,
@project
)
-
access
=
user_max_access_in_project
(
current_user
.
id
,
@project
)
-
can_edit
=
can?
(
current_user
,
:admin_project
,
@project
)
-
can_edit
=
can?
(
current_user
,
:admin_project
,
@project
)
%span
.dropdown.project-settings-dropdown
.dropdown.project-settings-dropdown
%a
.dropdown-new.btn.btn-default
#project-settings-button
{
href:
'#'
,
'data-toggle'
=>
'dropdown'
}
%a
.dropdown-new.btn.btn-default
#project-settings-button
{
href:
'#'
,
'data-toggle'
=>
'dropdown'
}
=
icon
(
'cog'
)
=
icon
(
'cog'
)
=
icon
(
'caret-down'
)
=
icon
(
'caret-down'
)
...
...
app/views/projects/_home_panel.html.haml
View file @
5bb7fa1b
-
empty_repo
=
@project
.
empty_repo?
-
empty_repo
=
@project
.
empty_repo?
.project-home-panel.cover-block.clearfix
{
:class
=>
(
"empty-project"
if
empty_repo
)}
.project-home-panel.cover-block.clearfix
{
:class
=>
(
"empty-project"
if
empty_repo
)}
.project-identicon-holder
.container-fluid.container-limited
=
project_icon
(
@project
,
alt:
''
,
class:
'project-avatar avatar s90'
)
.row
.cover-title.project-home-desc
.project-image-container
%h1
=
project_icon
(
@project
,
alt:
''
,
class:
'project-avatar avatar s70'
)
=
@project
.
name
.project-info
%span
.visibility-icon.has-tooltip
{
data:
{
container:
'body'
},
title:
visibility_icon_description
(
@project
)}
.cover-title.project-home-desc
=
visibility_level_icon
(
@project
.
visibility_level
,
fw:
false
)
%h1
=
@project
.
name
%span
.visibility-icon.has-tooltip
{
data:
{
container:
'body'
},
title:
visibility_icon_description
(
@project
)}
=
visibility_level_icon
(
@project
.
visibility_level
,
fw:
false
)
-
if
@project
.
description
.
present?
-
if
@project
.
description
.
present?
.cover-desc.project-home-desc
.cover-desc.project-home-desc
=
markdown
(
@project
.
description
,
pipeline: :description
)
=
markdown
(
@project
.
description
,
pipeline: :description
)
-
if
forked_from_project
=
@project
.
forked_from_project
-
if
forked_from_project
=
@project
.
forked_from_project
.cover-desc
.cover-desc
Forked from
Forked from
=
link_to
project_path
(
forked_from_project
)
do
=
link_to
project_path
(
forked_from_project
)
do
=
forked_from_project
.
namespace
.
try
(
:name
)
=
forked_from_project
.
namespace
.
try
(
:name
)
.project-repo-buttons
.project-repo-buttons
.split-one
.count-buttons
.count-buttons
=
render
'projects/buttons/star'
=
render
'projects/buttons/star'
=
render
'projects/buttons/fork'
=
render
'projects/buttons/fork'
.clone-row
.project-clone-holder
.project-clone-holder
=
render
"shared/clone_panel"
=
render
"shared/clone_panel"
.split-repo-buttons
.btn-group.pull-left
=
render
"projects/buttons/download"
=
render
'projects/buttons/dropdown'
.project-repo-buttons.btn-group.project-right-buttons
=
render
"projects/buttons/download"
=
render
'projects/buttons/dropdown'
=
render
'projects/buttons/notifications'
=
render
'projects/buttons/notifications'
:javascript
:javascript
...
...
app/views/projects/buttons/_dropdown.html.haml
View file @
5bb7fa1b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.btn-group
.btn-group
%a
.btn.dropdown-toggle
{
href:
'#'
,
"data-toggle"
=>
"dropdown"
}
%a
.btn.dropdown-toggle
{
href:
'#'
,
"data-toggle"
=>
"dropdown"
}
=
icon
(
'plus'
)
=
icon
(
'plus'
)
%ul
.dropdown-menu.dropdown-menu-right.project-home-dropdown
%ul
.dropdown-menu.dropdown-menu-
align-
right.project-home-dropdown
-
can_create_issue
=
can?
(
current_user
,
:create_issue
,
@project
)
-
can_create_issue
=
can?
(
current_user
,
:create_issue
,
@project
)
-
merge_project
=
can?
(
current_user
,
:create_merge_request
,
@project
)
?
@project
:
(
current_user
&&
current_user
.
fork_of
(
@project
))
-
merge_project
=
can?
(
current_user
,
:create_merge_request
,
@project
)
?
@project
:
(
current_user
&&
current_user
.
fork_of
(
@project
))
-
can_create_snippet
=
can?
(
current_user
,
:create_snippet
,
@project
)
-
can_create_snippet
=
can?
(
current_user
,
:create_snippet
,
@project
)
...
...
app/views/projects/buttons/_notifications.html.haml
View file @
5bb7fa1b
-
if
@notification_setting
-
if
@notification_setting
=
form_for
@notification_setting
,
url:
namespace_project_notification_setting_path
(
@project
.
namespace
.
becomes
(
Namespace
),
@project
),
method: :patch
,
remote:
true
,
html:
{
class:
'inline'
,
id:
'notification-form'
}
do
|
f
|
=
form_for
@notification_setting
,
url:
namespace_project_notification_setting_path
(
@project
.
namespace
.
becomes
(
Namespace
),
@project
),
method: :patch
,
remote:
true
,
html:
{
class:
'inline'
,
id:
'notification-form'
}
do
|
f
|
=
f
.
hidden_field
:level
=
f
.
hidden_field
:level
%span
.dropdown
.dropdown
%a
.dropdown-new.btn.notifications-btn
#notifications-button
{
href:
'#'
,
"data-toggle"
=>
"dropdown"
}
%a
.dropdown-new.btn.notifications-btn
#notifications-button
{
href:
'#'
,
"data-toggle"
=>
"dropdown"
}
=
icon
(
'bell'
)
=
icon
(
'bell'
)
=
notification_title
(
@notification_setting
.
level
)
=
notification_title
(
@notification_setting
.
level
)
=
icon
(
'
angle
-down'
)
=
icon
(
'
caret
-down'
)
%ul
.dropdown-menu.dropdown-menu-right.project-home-dropdown
%ul
.dropdown-menu.dropdown-menu-
align-
right.project-home-dropdown
-
NotificationSetting
.
levels
.
each
do
|
level
|
-
NotificationSetting
.
levels
.
each
do
|
level
|
=
notification_list_item
(
level
.
first
,
@notification_setting
)
=
notification_list_item
(
level
.
first
,
@notification_setting
)
app/views/projects/show.html.haml
View file @
5bb7fa1b
...
@@ -13,50 +13,51 @@
...
@@ -13,50 +13,51 @@
=
render
"home_panel"
=
render
"home_panel"
.project-stats.row-content-block.second-block
.project-stats.row-content-block.second-block
%ul
.nav
.container-fluid.container-limited
%li
%ul
.nav
=
link_to
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
current_ref
)
do
=
pluralize
(
number_with_delimiter
(
@project
.
commit_count
),
'commit'
)
%li
=
link_to
namespace_project_branches_path
(
@project
.
namespace
,
@project
)
do
=
pluralize
(
number_with_delimiter
(
@repository
.
branch_names
.
count
),
'branch'
)
%li
=
link_to
namespace_project_tags_path
(
@project
.
namespace
,
@project
)
do
=
pluralize
(
number_with_delimiter
(
@repository
.
tag_names
.
count
),
'tag'
)
%li
=
link_to
project_files_path
(
@project
)
do
=
repository_size
-
if
default_project_view
!=
'readme'
&&
@repository
.
readme
%li
%li
=
link_to
'Readme'
,
readme_path
(
@project
)
=
link_to
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
current_ref
)
do
=
pluralize
(
number_with_delimiter
(
@project
.
commit_count
),
'commit'
)
-
if
@repository
.
changelog
%li
%li
=
link_to
'Changelog'
,
changelog_path
(
@project
)
=
link_to
namespace_project_branches_path
(
@project
.
namespace
,
@project
)
do
=
pluralize
(
number_with_delimiter
(
@repository
.
branch_names
.
count
),
'branch'
)
-
if
@repository
.
license_blob
%li
%li
=
link_to
license_short_name
(
@project
),
license_path
(
@project
)
=
link_to
namespace_project_tags_path
(
@project
.
namespace
,
@project
)
do
=
pluralize
(
number_with_delimiter
(
@repository
.
tag_names
.
count
),
'tag'
)
-
if
@repository
.
contribution_guide
%li
%li
=
link_to
'Contribution guide'
,
contribution_guide_path
(
@project
)
=
link_to
project_files_path
(
@project
)
do
=
repository_size
-
if
default_project_view
!=
'readme'
&&
@repository
.
readme
%li
=
link_to
'Readme'
,
readme_path
(
@project
)
-
if
@repository
.
changelog
%li
=
link_to
'Changelog'
,
changelog_path
(
@project
)
-
if
@repository
.
license_blob
%li
=
link_to
license_short_name
(
@project
),
license_path
(
@project
)
-
if
@repository
.
contribution_guide
%li
=
link_to
'Contribution guide'
,
contribution_guide_path
(
@project
)
-
if
current_user
&&
can_push_branch?
(
@project
,
@project
.
default_branch
)
-
if
current_user
&&
can_push_branch?
(
@project
,
@project
.
default_branch
)
-
unless
@repository
.
changelog
-
unless
@repository
.
changelog
%li
.missing
%li
.missing
=
link_to
add_special_file_path
(
@project
,
file_name:
'CHANGELOG'
)
do
=
link_to
add_special_file_path
(
@project
,
file_name:
'CHANGELOG'
)
do
Add Changelog
Add Changelog
-
unless
@repository
.
license_blob
-
unless
@repository
.
license_blob
%li
.missing
%li
.missing
=
link_to
add_special_file_path
(
@project
,
file_name:
'LICENSE'
)
do
=
link_to
add_special_file_path
(
@project
,
file_name:
'LICENSE'
)
do
Add License
Add License
-
unless
@repository
.
contribution_guide
-
unless
@repository
.
contribution_guide
%li
.missing
%li
.missing
=
link_to
add_special_file_path
(
@project
,
file_name:
'CONTRIBUTING.md'
,
commit_message:
'Add contribution guide'
)
do
=
link_to
add_special_file_path
(
@project
,
file_name:
'CONTRIBUTING.md'
,
commit_message:
'Add contribution guide'
)
do
Add Contribution guide
Add Contribution guide
-
if
@repository
.
commit
-
if
@repository
.
commit
.content-block.second-block.white
.content-block.second-block.white
...
...
app/views/shared/_clone_panel.html.haml
View file @
5bb7fa1b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
%a
#clone-dropdown
.clone-dropdown-btn.btn
{
href:
'#'
,
'data-toggle'
=>
'dropdown'
}
%a
#clone-dropdown
.clone-dropdown-btn.btn
{
href:
'#'
,
'data-toggle'
=>
'dropdown'
}
%span
%span
=
default_clone_protocol
.
upcase
=
default_clone_protocol
.
upcase
=
icon
(
'
angle
-down'
)
=
icon
(
'
caret
-down'
)
%ul
.dropdown-menu.dropdown-menu-right.clone-options-dropdown
%ul
.dropdown-menu.dropdown-menu-right.clone-options-dropdown
%li
%li
=
ssh_clone_button
(
project
)
=
ssh_clone_button
(
project
)
...
...
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