add link ti public area
This commit is contained in:
parent
c2082f4d78
commit
24cc0faf2c
2 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
||||||
%span.separator
|
%span.separator
|
||||||
%h1.project_name= title
|
%h1.project_name= title
|
||||||
%ul.nav
|
%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?
|
- if current_user.is_admin?
|
||||||
%li
|
%li
|
||||||
= link_to admin_root_path, title: "Admin area", class: 'has_bottom_tooltip', 'data-original-title' => 'Admin area' do
|
= link_to admin_root_path, title: "Admin area", class: 'has_bottom_tooltip', 'data-original-title' => 'Admin area' do
|
||||||
|
|
|
@ -12,5 +12,7 @@
|
||||||
.pull-right
|
.pull-right
|
||||||
%pre.dark.tiny git clone #{project.http_url_to_repo}
|
%pre.dark.tiny git clone #{project.http_url_to_repo}
|
||||||
|
|
||||||
|
- unless @projects.present?
|
||||||
|
%h3.nothing_here_message No public projects
|
||||||
|
|
||||||
= paginate @projects, theme: "admin"
|
= paginate @projects, theme: "admin"
|
||||||
|
|
Loading…
Reference in a new issue