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
09bef317
Commit
09bef317
authored
Sep 15, 2020
by
Gilang Gumilar
Committed by
Phil Hughes
Sep 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace bootstrap alerts in app/.../edit.html.haml
parent
e36f62ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
app/views/projects/blob/edit.html.haml
app/views/projects/blob/edit.html.haml
+6
-4
changelogs/unreleased/233690-replace-bootstrap-alerts-app-views-projects-blob-edit-html-haml.yml
...otstrap-alerts-app-views-projects-blob-edit-html-haml.yml
+5
-0
No files found.
app/views/projects/blob/edit.html.haml
View file @
09bef317
...
...
@@ -2,10 +2,12 @@
-
page_title
_
(
"Edit"
),
@blob
.
path
,
@ref
-
if
@conflict
.alert.alert-danger
Someone edited the file the same time you did. Please check out
=
link_to
"the file"
,
project_blob_path
(
@project
,
tree_join
(
@branch_name
,
@file_path
)),
target:
"_blank"
,
rel:
'noopener noreferrer'
and make sure your changes will not unintentionally remove theirs.
.gl-alert.gl-alert-danger.gl-mb-5.gl-mt-5
=
sprite_icon
(
'error'
,
size:
16
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
.gl-alert-body
Someone edited the file the same time you did. Please check out
=
link_to
"the file"
,
project_blob_path
(
@project
,
tree_join
(
@branch_name
,
@file_path
)),
target:
"_blank"
,
rel:
'noopener noreferrer'
,
class:
'gl-link'
and make sure your changes will not unintentionally remove theirs.
-
if
editing_ci_config?
&&
show_web_ide_alert?
#js-suggest-web-ide-ci
{
data:
{
dismiss_endpoint:
user_callouts_path
,
feature_id:
UserCalloutsHelper
::
WEB_IDE_ALERT_DISMISSED
,
edit_path:
ide_edit_path
}
}
...
...
changelogs/unreleased/233690-replace-bootstrap-alerts-app-views-projects-blob-edit-html-haml.yml
0 → 100644
View file @
09bef317
---
title
:
Replace bootstrap alerts in app/views/projects/blob/edit.html.haml
merge_request
:
41298
author
:
Gilang Gumilar
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