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
e331dcb4
Commit
e331dcb4
authored
Feb 26, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts caused by `show_new_ide?`
parent
61bef6de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
12 deletions
+1
-12
app/helpers/blob_helper.rb
app/helpers/blob_helper.rb
+0
-4
app/views/projects/tree/_tree_header.html.haml
app/views/projects/tree/_tree_header.html.haml
+1
-8
No files found.
app/helpers/blob_helper.rb
View file @
e331dcb4
...
...
@@ -34,11 +34,7 @@ module BlobHelper
end
def
ide_edit_button
(
project
=
@project
,
ref
=
@ref
,
path
=
@path
,
options
=
{})
<<<<<<<
HEAD
return
unless
show_new_ide?
(
project
)
=======
return
unless
show_new_ide?
>>>>>>>
upstream
/
master
return
unless
blob
=
readable_blob
(
options
,
path
,
project
,
ref
)
common_classes
=
"btn js-edit-ide
#{
options
[
:extra_class
]
}
"
...
...
app/views/projects/tree/_tree_header.html.haml
View file @
e331dcb4
...
...
@@ -72,15 +72,8 @@
#{
_
(
'New tag'
)
}
.tree-controls
<
<<<<<<
HEAD
=
lock_file_link
(
html_options:
{
class:
'btn path-lock'
})
==
=====
-
if
show_new_ide?
=
succeed
" "
do
=
link_to
ide_edit_path
(
@project
,
@id
),
class:
'btn btn-default'
do
=
_
(
'Web IDE'
)
>
>>>>>> upstream/master
=
lock_file_link
(
html_options:
{
class:
'btn path-lock'
})
=
link_to
s_
(
'Commits|History'
),
project_commits_path
(
@project
,
@id
),
class:
'btn'
=
render
'projects/find_file_link'
...
...
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