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
3723182a
Commit
3723182a
authored
Nov 27, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move project visibility level off of the clone panel
parent
637e64c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+5
-0
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+6
-4
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+0
-4
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
3723182a
...
@@ -90,7 +90,12 @@
...
@@ -90,7 +90,12 @@
}
}
.visibility-level-label
{
.visibility-level-label
{
@extend
.btn
;
@extend
.btn-gray
;
color
:
$gray
;
color
:
$gray
;
cursor
:
auto
;
i
{
i
{
color
:
inherit
;
color
:
inherit
;
}
}
...
...
app/views/projects/_home_panel.html.haml
View file @
3723182a
-
empty_repo
=
@project
.
empty_repo?
-
empty_repo
=
@project
.
empty_repo?
.project-home-panel.clearfix
{
:class
=>
(
"empty-project"
if
empty_repo
)}
.project-home-panel.c
over-block.c
learfix
{
:class
=>
(
"empty-project"
if
empty_repo
)}
.project-identicon-holder
.project-identicon-holder
=
project_icon
(
@project
,
alt:
''
,
class:
'project-avatar avatar s90'
)
=
project_icon
(
@project
,
alt:
''
,
class:
'project-avatar avatar s90'
)
.project-home-desc
.project-home-desc
...
@@ -12,8 +12,10 @@
...
@@ -12,8 +12,10 @@
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
)
.cover-controls
.visibility-level-label
=
visibility_level_icon
(
@project
.
visibility_level
)
=
visibility_level_label
(
@project
.
visibility_level
)
.project-repo-buttons
.project-repo-buttons
.split-one
.split-one
...
@@ -21,7 +23,7 @@
...
@@ -21,7 +23,7 @@
=
render
'projects/buttons/fork'
=
render
'projects/buttons/fork'
=
render
"shared/clone_panel"
=
render
"shared/clone_panel"
.split-repo-buttons
.split-repo-buttons
=
render
"projects/buttons/download"
=
render
"projects/buttons/download"
=
render
'projects/buttons/dropdown'
=
render
'projects/buttons/dropdown'
...
...
app/views/shared/_clone_panel.html.haml
View file @
3723182a
...
@@ -8,7 +8,3 @@
...
@@ -8,7 +8,3 @@
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
.input-group-btn
.input-group-btn
=
clipboard_button
(
clipboard_target:
'#project_clone'
)
=
clipboard_button
(
clipboard_target:
'#project_clone'
)
-
if
project
.
kind_of?
(
Project
)
.input-group-addon.has_tooltip
{
title:
"#{visibility_level_label(project.visibility_level)} project"
,
data:
{
container:
"body"
}
}
.visibility-level-label
=
visibility_level_icon
(
project
.
visibility_level
)
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