diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2017-04-10 13:53:03 +0000 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-04-11 19:39:56 -0300 |
commit | 219ac0b598d74310c867d9058b30e03e123254d5 (patch) | |
tree | 8b0e83cf2edede42fded381b07ca7d447a2efb19 | |
parent | 16c2896b6d7f482e14df111e3f06d774d88facc4 (diff) | |
download | gitlab-ce-219ac0b598d74310c867d9058b30e03e123254d5.tar.gz |
Merge branch 'file-view-container' into 'master'
Remove limited container on file view
See merge request !10542
-rw-r--r-- | app/views/projects/show.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index edfe6da1816..de1229d58aa 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -13,7 +13,7 @@ = render "home_panel" - if current_user && can?(current_user, :download_code, @project) - %nav.project-stats.limit-container-width{ class: container_class } + %nav.project-stats{ class: container_class } %ul.nav %li = link_to project_files_path(@project) do @@ -74,11 +74,11 @@ Set up auto deploy - if @repository.commit - .limit-container-width{ class: container_class } + %div{ class: container_class } .project-last-commit = render 'projects/last_commit', commit: @repository.commit, ref: current_ref, project: @project -.limit-container-width{ class: container_class } +%div{ class: container_class } - if @project.archived? .text-warning.center.prepend-top-20 %p |