summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Tang <dtang@gitlab.com>2018-08-08 22:41:05 +0000
committerDennis Tang <dtang@gitlab.com>2018-08-09 16:01:03 +0000
commitd67c01eb5398b77650b0b3d19bb46cb7909376b2 (patch)
tree7bbd405b27f6e95d0499ac3fe941e5e77e873f4a
parent68082d352516b5367fce76453b8992f4e44d127e (diff)
downloadgitlab-ce-dt-adjust-project-overview-containers.tar.gz
Readjust markup of project overview navdt-adjust-project-overview-containers
-rw-r--r--app/views/projects/show.html.haml14
-rw-r--r--changelogs/unreleased/dt-adjust-project-overview-containers.yml5
2 files changed, 12 insertions, 7 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 8a5abb64515..919b8fc1ed8 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -17,14 +17,14 @@
= render "home_panel"
-- if can?(current_user, :download_code, @project)
- %nav.project-stats{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
- = render 'stat_anchor_list', anchors: @project.statistics_anchors(show_auto_devops_callout: show_auto_devops_callout)
- = render 'stat_anchor_list', anchors: @project.statistics_buttons(show_auto_devops_callout: show_auto_devops_callout)
- - if Feature.enabled?(:repository_languages, @project.namespace.becomes(Namespace))
- = repository_languages_bar(@project.repository_languages)
-
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
+ - if can?(current_user, :download_code, @project)
+ %nav.project-stats
+ = render 'stat_anchor_list', anchors: @project.statistics_anchors(show_auto_devops_callout: show_auto_devops_callout)
+ = render 'stat_anchor_list', anchors: @project.statistics_buttons(show_auto_devops_callout: show_auto_devops_callout)
+ - if Feature.enabled?(:repository_languages, @project.namespace.becomes(Namespace))
+ = repository_languages_bar(@project.repository_languages)
+
- if @project.archived?
.text-warning.center.prepend-top-20
%p
diff --git a/changelogs/unreleased/dt-adjust-project-overview-containers.yml b/changelogs/unreleased/dt-adjust-project-overview-containers.yml
new file mode 100644
index 00000000000..220b45111f7
--- /dev/null
+++ b/changelogs/unreleased/dt-adjust-project-overview-containers.yml
@@ -0,0 +1,5 @@
+---
+title: Readjust markup of project overview nav
+merge_request: 21098
+author:
+type: changed