diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-03-25 21:16:20 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-03-28 13:17:02 +0300 |
commit | 0ea359d2cfd97f4271f812ba9f216bcf4ae42c20 (patch) | |
tree | 925dfc558b4e17fcc6af3dd68aec5a69612aab5b /app/assets/javascripts/vue_merge_request_widget | |
parent | f00a971a6da0407d7df2f4d8d2905a711a437b4d (diff) |
Fixes to Formatting to all Files
Diffstat (limited to 'app/assets/javascripts/vue_merge_request_widget')
-rw-r--r-- | app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue index d3d5ef76d2e..bbe7f511cbe 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue +++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.vue @@ -24,11 +24,7 @@ export default { return this.mr.divergedCommitsCount > 0; }, commitsText() { - return n__( - '%d commit behind', - '%d commits behind', - this.mr.divergedCommitsCount, - ); + return n__('%d commit behind', '%d commits behind', this.mr.divergedCommitsCount); }, branchNameClipboardData() { // This supports code in app/assets/javascripts/copy_to_clipboard.js that @@ -45,11 +41,6 @@ export default { isTargetBranchLong() { return this.isBranchTitleLong(this.mr.targetBranch); }, - webIdePath() { - return `${ - gon.relative_url_root - }/-/ide/project${this.mr.statusPath.replace('.json', '')}`; - }, }, methods: { isBranchTitleLong(branchTitle) { @@ -105,14 +96,6 @@ export default { </div> <div v-if="mr.isOpen"> - <a - :disabled="mr.sourceBranchRemoved" - :href="webIdePath" - class="btn btn-sm btn-default inline js-web-ide" - type="button" - > - {{ s__("mrWidget|Open in Web IDE") }} - </a> <button data-target="#modal_merge_info" data-toggle="modal" |