diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2017-04-10 13:53:03 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2017-04-10 13:53:03 +0000 |
commit | 481f07e77c11e24b6e99c2a23639041061e78c23 (patch) | |
tree | 9c917f69e75eaa8072f9402f31502075016ef116 /app | |
parent | 6c7b4791194019e90d22159f3e5e8e7eeaccd625 (diff) | |
parent | ea4cf0059ac98e31282272f076ef76ab274058ca (diff) | |
download | gitlab-ce-481f07e77c11e24b6e99c2a23639041061e78c23.tar.gz |
Merge branch 'file-view-container' into 'master'
Remove limited container on file view
See merge request !10542
Diffstat (limited to 'app')
-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 |