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
ad3b2796
Commit
ad3b2796
authored
Nov 12, 2019
by
Marcel van Remmerden
Committed by
Paul Slaughter
Nov 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Visual design of edit and web ide button in blob view"
parent
febfd21e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
app/views/projects/blob/_header.html.haml
app/views/projects/blob/_header.html.haml
+7
-6
changelogs/unreleased/36113-visual-design-of-edit-and-web-ide-button-in-blob-view.yml
...visual-design-of-edit-and-web-ide-button-in-blob-view.yml
+5
-0
No files found.
app/views/projects/blob/_header.html.haml
View file @
ad3b2796
...
...
@@ -6,17 +6,18 @@
=
render
'projects/blob/viewer_switcher'
,
blob:
blob
unless
blame
.btn-group
{
role:
"group"
}
<
=
copy_blob_source_button
(
blob
)
unless
blame
=
open_raw_blob_button
(
blob
)
=
download_blob_button
(
blob
)
=
view_on_environment_button
(
@commit
.
sha
,
@path
,
@environment
)
if
@environment
.btn-group
{
role:
"group"
}
<
=
render_if_exists
'projects/blob/header_file_locks_link'
=
edit_blob_button
=
ide_edit_button
.btn-group
{
role:
"group"
}
<
=
render_if_exists
'projects/blob/header_file_locks_link'
-
if
current_user
=
replace_blob_link
=
delete_blob_link
.btn-group
{
role:
"group"
}
<
=
copy_blob_source_button
(
blob
)
unless
blame
=
open_raw_blob_button
(
blob
)
=
download_blob_button
(
blob
)
=
view_on_environment_button
(
@commit
.
sha
,
@path
,
@environment
)
if
@environment
=
render
'projects/fork_suggestion'
=
render_if_exists
'projects/blob/header_file_locks'
,
project:
@project
,
path:
@path
changelogs/unreleased/36113-visual-design-of-edit-and-web-ide-button-in-blob-view.yml
0 → 100644
View file @
ad3b2796
---
title
:
Visual design for edit buttons in blob view
merge_request
:
19932
author
:
type
:
other
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