Merge branch '20914-project-home-width' into 'master'
20914 Limits line length for project home page Closes #20914 See merge request !10346
This commit is contained in:
commit
6de540100b
|
@ -1,6 +1,6 @@
|
|||
- empty_repo = @project.empty_repo?
|
||||
.project-home-panel.text-center{ class: ("empty-project" if empty_repo) }
|
||||
%div{ class: container_class }
|
||||
.limit-container-width{ class: container_class }
|
||||
.avatar-container.s70.project-avatar
|
||||
= project_icon(@project, alt: @project.name, class: 'avatar s70 avatar-tile')
|
||||
%h1.project-title
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
= render "home_panel"
|
||||
|
||||
- if current_user && can?(current_user, :download_code, @project)
|
||||
%nav.project-stats{ class: container_class }
|
||||
%nav.project-stats.limit-container-width{ class: container_class }
|
||||
%ul.nav
|
||||
%li
|
||||
= link_to project_files_path(@project) do
|
||||
|
@ -74,11 +74,11 @@
|
|||
Set up auto deploy
|
||||
|
||||
- if @repository.commit
|
||||
%div{ class: container_class }
|
||||
.limit-container-width{ class: container_class }
|
||||
.project-last-commit
|
||||
= render 'projects/last_commit', commit: @repository.commit, ref: current_ref, project: @project
|
||||
|
||||
%div{ class: container_class }
|
||||
.limit-container-width{ class: container_class }
|
||||
- if @project.archived?
|
||||
.text-warning.center.prepend-top-20
|
||||
%p
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Limit line length for project home page
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in New Issue