summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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