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
Tatuya Kamada
gitlab-ce
Commits
8429a578
Commit
8429a578
authored
Aug 13, 2016
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix hard coded plural text.
parent
f498347d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/assets/javascripts/merge_conflict_data_provider.js.es6
app/assets/javascripts/merge_conflict_data_provider.js.es6
+3
-1
app/views/projects/merge_requests/conflicts/_commit_stats.html.haml
...projects/merge_requests/conflicts/_commit_stats.html.haml
+1
-1
No files found.
app/assets/javascripts/merge_conflict_data_provider.js.es6
View file @
8429a578
...
@@ -39,6 +39,9 @@ class MergeConflictDataProvider {
...
@@ -39,6 +39,9 @@ class MergeConflictDataProvider {
vueInstance.conflictsData = data;
vueInstance.conflictsData = data;
vueInstance.isSubmitting = false;
vueInstance.isSubmitting = false;
const conflictsText = this.getConflictsCount() > 1 ? 'conflicts' : 'conflict';
vueInstance.conflictsData.conflictsText = conflictsText;
}
}
...
@@ -101,7 +104,6 @@ class MergeConflictDataProvider {
...
@@ -101,7 +104,6 @@ class MergeConflictDataProvider {
}
}
});
});
}
}
...
...
app/views/projects/merge_requests/conflicts/_commit_stats.html.haml
View file @
8429a578
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
.js-toggle-container
.js-toggle-container
.commit-stat-summary
.commit-stat-summary
Showing
Showing
%strong
.cred
{{conflictsCount}}
conflicts
%strong
.cred
{{conflictsCount}}
{{conflictsData.conflictsText}}
between
between
%strong
{{conflictsData.source_branch}}
%strong
{{conflictsData.source_branch}}
and
and
...
...
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