BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6de54010
Commit
6de54010
authored
Apr 01, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '20914-project-home-width' into 'master'
20914 Limits line length for project home page Closes #20914 See merge request !10346
parents
731d574d
ac01a1b1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+1
-1
show.html.haml
app/views/projects/show.html.haml
+3
-3
20914-project-home-width.yml
changelogs/unreleased/20914-project-home-width.yml
+4
-0
No files found.
app/views/projects/_home_panel.html.haml
View file @
6de54010
-
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
...
...
app/views/projects/show.html.haml
View file @
6de54010
...
...
@@ -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
...
...
changelogs/unreleased/20914-project-home-width.yml
0 → 100644
View file @
6de54010
---
title
:
Limit line length for project home page
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment