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
bf15e83d
Commit
bf15e83d
authored
Jun 18, 2020
by
Samantha Ming
Committed by
Paul Slaughter
Jun 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show clone button on project page for README preference
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33023
parent
fed252b6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
app/views/projects/_readme.html.haml
app/views/projects/_readme.html.haml
+9
-5
changelogs/unreleased/204904-show-clone-button-on-project-page.yml
...s/unreleased/204904-show-clone-button-on-project-page.yml
+5
-0
No files found.
app/views/projects/_readme.html.haml
View file @
bf15e83d
-
if
(
readme
=
@repository
.
readme
)
&&
readme
.
rich_viewer
.tree-holder
.nav-block.mt-0
=
render
'projects/tree/tree_header'
,
tree:
@tree
%article
.file-holder.readme-holder
{
id:
'readme'
,
class:
(
"limited-width-container"
unless
fluid_layout
)
}
.js-file-title.file-title
.js-file-title.file-title-flex-parent
.file-header-content
=
blob_icon
readme
.
mode
,
readme
.
name
=
link_to
project_blob_path
(
@project
,
tree_join
(
@ref
,
readme
.
path
))
do
%strong
...
...
changelogs/unreleased/204904-show-clone-button-on-project-page.yml
0 → 100644
View file @
bf15e83d
---
title
:
Show clone button on project page for readme preference
merge_request
:
33023
author
:
type
:
changed
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