diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-11-28 00:15:06 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-11-28 00:15:06 +0300 |
commit | 3723182a8831595502570c90211610abb4770781 (patch) | |
tree | 815d146c888a42aa01f7a3e9b72874e04fbe4a3b /app/views/projects/_home_panel.html.haml | |
parent | 637e64c24472a06b32091cb45f1b81260c5e6ec0 (diff) |
Move project visibility level off of the clone panel
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 88d54bf6f21..b30036966a7 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -1,5 +1,5 @@ - empty_repo = @project.empty_repo? -.project-home-panel.clearfix{:class => ("empty-project" if empty_repo)} +.project-home-panel.cover-block.clearfix{:class => ("empty-project" if empty_repo)} .project-identicon-holder = project_icon(@project, alt: '', class: 'project-avatar avatar s90') .project-home-desc @@ -12,8 +12,10 @@ Forked from = link_to project_path(forked_from_project) do = forked_from_project.namespace.try(:name) - - + .cover-controls + .visibility-level-label + = visibility_level_icon(@project.visibility_level) + = visibility_level_label(@project.visibility_level) .project-repo-buttons .split-one @@ -21,7 +23,7 @@ = render 'projects/buttons/fork' = render "shared/clone_panel" - + .split-repo-buttons = render "projects/buttons/download" = render 'projects/buttons/dropdown' |