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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
24cc0faf
Commit
24cc0faf
authored
Mar 04, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add link ti public area
parent
c2082f4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
app/views/layouts/_head_panel.html.haml
app/views/layouts/_head_panel.html.haml
+3
-0
app/views/public/projects/index.html.haml
app/views/public/projects/index.html.haml
+2
-0
No files found.
app/views/layouts/_head_panel.html.haml
View file @
24cc0faf
...
...
@@ -8,6 +8,9 @@
%span
.separator
%h1
.project_name
=
title
%ul
.nav
%li
=
link_to
public_root_path
,
title:
"Public area"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'Public area'
do
%i
.icon-globe
-
if
current_user
.
is_admin?
%li
=
link_to
admin_root_path
,
title:
"Admin area"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'Admin area'
do
...
...
app/views/public/projects/index.html.haml
View file @
24cc0faf
...
...
@@ -12,5 +12,7 @@
.pull-right
%pre
.dark.tiny
git clone
#{
project
.
http_url_to_repo
}
-
unless
@projects
.
present?
%h3
.nothing_here_message
No public projects
=
paginate
@projects
,
theme:
"admin"
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