Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b579a270
Commit
b579a270
authored
Dec 06, 2019
by
Nadia Sotnikova
Committed by
Paul Slaughter
Dec 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add border top to Readme file header
parent
a1517120
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
app/views/projects/tree/_readme.html.haml
app/views/projects/tree/_readme.html.haml
+6
-5
changelogs/unreleased/27025-add-border-top-in-readme.yml
changelogs/unreleased/27025-add-border-top-in-readme.yml
+5
-0
No files found.
app/views/projects/tree/_readme.html.haml
View file @
b579a270
-
if
readme
.
rich_viewer
-
if
readme
.
rich_viewer
%article
.file-holder.readme-holder
{
id:
'readme'
,
class:
[(
"limited-width-container"
unless
fluid_layout
),
(
"js-show-on-root"
if
vue_file_list_enabled?
)]
}
%article
.file-holder.readme-holder
{
id:
'readme'
,
class:
[(
"limited-width-container"
unless
fluid_layout
),
(
"js-show-on-root"
if
vue_file_list_enabled?
)]
}
.js-file-title.file-title
.js-file-title.file-title-flex-parent
=
blob_icon
readme
.
mode
,
readme
.
name
.file-header-content
=
link_to
project_blob_path
(
@project
,
tree_join
(
@ref
,
readme
.
path
))
do
=
blob_icon
readme
.
mode
,
readme
.
name
%strong
=
link_to
project_blob_path
(
@project
,
tree_join
(
@ref
,
readme
.
path
))
do
=
readme
.
name
%strong
=
readme
.
name
=
render
'projects/blob/viewer'
,
viewer:
readme
.
rich_viewer
,
viewer_url:
project_blob_path
(
@project
,
tree_join
(
@ref
,
readme
.
path
),
viewer: :rich
,
format: :json
)
=
render
'projects/blob/viewer'
,
viewer:
readme
.
rich_viewer
,
viewer_url:
project_blob_path
(
@project
,
tree_join
(
@ref
,
readme
.
path
),
viewer: :rich
,
format: :json
)
changelogs/unreleased/27025-add-border-top-in-readme.yml
0 → 100644
View file @
b579a270
---
title
:
Fix top border of README file header in file list
merge_request
:
21314
author
:
type
:
fixed
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