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
dd37aa06
Commit
dd37aa06
authored
May 06, 2015
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
parents
48f22a39
065637a8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
11 deletions
+15
-11
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+3
-0
app/views/projects/_aside.html.haml
app/views/projects/_aside.html.haml
+4
-4
app/views/projects/_section.html.haml
app/views/projects/_section.html.haml
+5
-4
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+3
-3
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
dd37aa06
...
...
@@ -201,9 +201,12 @@ ul.nav.nav-projects-tabs {
}
.well
{
padding
:
14px
;
h4
{
font-weight
:
normal
;
margin
:
0
;
color
:
#555
;
}
.nav-pills
a
{
...
...
app/views/projects/_aside.html.haml
View file @
dd37aa06
...
...
@@ -51,10 +51,10 @@
-
if
@project
.
forked_from_project
.well
%
i
.fa.fa-code-fork.project-fork-icon
Forked from:
%br
=
link_to
@project
.
forked_from_project
.
name_with_namespace
,
project_path
(
@project
.
forked_from_project
)
%
h4
Forked from
.pull-right
=
link_to
@project
.
forked_from_project
.
namespace
.
try
(
:name
)
,
project_path
(
@project
.
forked_from_project
)
-
if
version
=
@repository
.
version
...
...
app/views/projects/_section.html.haml
View file @
dd37aa06
...
...
@@ -26,9 +26,10 @@
-
if
readme
=
@repository
.
readme
.tab-pane
#tab-readme
%article
.readme-holder
#README
=
link_to
namespace_project_blob_path
(
@project
.
namespace
,
@project
,
tree_join
(
@repository
.
root_ref
,
readme
.
name
))
do
%h4
.readme-file-title
%i
.fa.fa-file
=
readme
.
name
.clearfix
%small
.pull-right
=
link_to
namespace_project_blob_path
(
@project
.
namespace
,
@project
,
tree_join
(
@repository
.
root_ref
,
readme
.
name
)),
class:
'light'
do
%i
.fa.fa-file
=
readme
.
name
.wiki
=
render_readme
(
readme
)
app/views/shared/_clone_panel.html.haml
View file @
dd37aa06
...
...
@@ -3,7 +3,7 @@
.input-group-btn
%button
{
|
:type
=>
'button'
,
|
class:
"btn #{ 'active' if default_clone_protocol == 'ssh' }#{ ' has_tooltip' if current_user && current_user.require_ssh_key? }"
,
|
class:
"btn
btn-sm
#{ 'active' if default_clone_protocol == 'ssh' }#{ ' has_tooltip' if current_user && current_user.require_ssh_key? }"
,
|
:"data-clone"
=>
project
.
ssh_url_to_repo
,
|
:"data-title"
=>
"Add an SSH key to your profile<br> to pull or push via SSH"
,
:"data-html"
=>
"true"
,
...
...
@@ -11,13 +11,13 @@
SSH
%button
{
|
:type
=>
'button'
,
|
class:
"btn #{ 'active' if default_clone_protocol == 'http' }#{ ' has_tooltip' if current_user && current_user.require_password? }"
,
|
class:
"btn
btn-sm
#{ 'active' if default_clone_protocol == 'http' }#{ ' has_tooltip' if current_user && current_user.require_password? }"
,
|
:"data-clone"
=>
project
.
http_url_to_repo
,
|
:"data-title"
=>
"Set a password on your account<br> to pull or push via #{gitlab_config.protocol.upcase}"
,
:"data-html"
=>
"true"
,
:"data-container"
=>
"body"
}
=
gitlab_config
.
protocol
.
upcase
=
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
input-sm
"
,
readonly:
true
-
if
project
.
kind_of?
(
Project
)
.input-group-addon
.visibility-level-label.has_tooltip
{
'data-title'
=>
"#{visibility_level_label(project.visibility_level)} 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