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
e4912243
Commit
e4912243
authored
Sep 26, 2014
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transform remove blob link into button.
parent
f6bed511
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/views/projects/blob/_actions.html.haml
app/views/projects/blob/_actions.html.haml
+2
-1
features/steps/project/source/browse_files.rb
features/steps/project/source/browse_files.rb
+1
-1
No files found.
app/views/projects/blob/_actions.html.haml
View file @
e4912243
...
@@ -23,5 +23,6 @@
...
@@ -23,5 +23,6 @@
tree_join
(
@commit
.
sha
,
@path
)),
class:
'btn btn-small'
tree_join
(
@commit
.
sha
,
@path
)),
class:
'btn btn-small'
-
if
allowed_tree_edit?
-
if
allowed_tree_edit?
=
link_to
'#modal-remove-blob'
,
class:
"remove-blob btn btn-small btn-remove"
,
"data-toggle"
=>
"modal"
do
=
button_tag
class:
'remove-blob btn btn-small btn-remove'
,
'data-toggle'
=>
'modal'
,
'data-target'
=>
'#modal-remove-blob'
do
Remove
Remove
features/steps/project/source/browse_files.rb
View file @
e4912243
...
@@ -78,7 +78,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
...
@@ -78,7 +78,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
end
step
'I click on "Remove"'
do
step
'I click on "Remove"'
do
click_
link
'Remove'
click_
button
'Remove'
end
end
step
'I click on "Remove file"'
do
step
'I click on "Remove file"'
do
...
...
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