Commit a1385d11 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

hide admin link for users

parent 5c2e89b2
...@@ -8,8 +8,9 @@ ...@@ -8,8 +8,9 @@
%h1 %h1
GITLAB GITLAB
= link_to admin_projects_path, :class => "admin_link", :title => "Admin area" do - if current_user.is_admin?
= image_tag "admin.PNG", :width => 16 = link_to admin_projects_path, :class => "admin_link", :title => "Admin area" do
= image_tag "admin.PNG", :width => 16
%h1.project_name= title %h1.project_name= title
.search= text_field_tag "search", nil, :placeholder => "Search", :class => "search-input" .search= text_field_tag "search", nil, :placeholder => "Search", :class => "search-input"
......
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