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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
5277239c
Commit
5277239c
authored
Aug 03, 2016
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer v-show instead of v-if.
parent
912cc7b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/projects/merge_requests/conflicts.html.haml
app/views/projects/merge_requests/conflicts.html.haml
+2
-2
No files found.
app/views/projects/merge_requests/conflicts.html.haml
View file @
5277239c
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
%strong
{{conflictsData.target_branch}}
%strong
{{conflictsData.target_branch}}
.files-wrapper
{
"v-if"
=>
"!isLoading && !hasError"
}
.files-wrapper
{
"v-if"
=>
"!isLoading && !hasError"
}
.files
{
"v-
if
"
=>
"isParallel"
}
.files
{
"v-
show
"
=>
"isParallel"
}
.diff-file.file-holder.conflict.parallel-view
{
"v-for"
=>
"file in conflictsData.files"
}
.diff-file.file-holder.conflict.parallel-view
{
"v-for"
=>
"file in conflictsData.files"
}
.file-title
.file-title
%i
.fa.fa-fw.fa
{
":class"
=>
"file.iconClass"
}
%i
.fa.fa-fw.fa
{
":class"
=>
"file.iconClass"
}
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
'unselected': line.isUnselected }"
}
'unselected': line.isUnselected }"
}
{{{line.richText}}}
{{{line.richText}}}
.files
{
"v-
if
"
=>
"!isParallel"
}
.files
{
"v-
show
"
=>
"!isParallel"
}
.diff-file.file-holder.conflict.inline-view
{
"v-for"
=>
"file in conflictsData.files"
}
.diff-file.file-holder.conflict.inline-view
{
"v-for"
=>
"file in conflictsData.files"
}
.file-title
.file-title
%i
.fa.fa-fw
{
":class"
=>
"file.iconClass"
}
%i
.fa.fa-fw
{
":class"
=>
"file.iconClass"
}
...
...
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