Commit 24cc0faf authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

add link ti public area

parent c2082f4d
...@@ -8,6 +8,9 @@ ...@@ -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 @@ ...@@ -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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment