Commit 16967419 authored by Lin Jen-Shin (🌙 04-04 ~ 04-08)'s avatar Lin Jen-Shin (🌙 04-04 ~ 04-08)

Merge branch 'ce-to-ee-2018-04-01' into 'master'

CE upstream - 2018-04-01 15:25 UTC

See merge request gitlab-org/gitlab-ee!5191
parents 3715a495 dcfbd99a
...@@ -9,12 +9,6 @@ export default { ...@@ -9,12 +9,6 @@ export default {
directives: { directives: {
tooltip, tooltip,
}, },
props: {
file: {
type: Object,
required: true,
},
},
}; };
</script> </script>
...@@ -22,7 +16,7 @@ export default { ...@@ -22,7 +16,7 @@ export default {
<icon <icon
name="git-merge" name="git-merge"
v-tooltip v-tooltip
title="Part of merge request changes" title="__('Part of merge request changes')"
css-classes="ide-file-changed-icon" css-classes="ide-file-changed-icon"
:size="12" :size="12"
/> />
......
...@@ -103,7 +103,6 @@ export default { ...@@ -103,7 +103,6 @@ export default {
</span> </span>
<span class="pull-right"> <span class="pull-right">
<mr-file-icon <mr-file-icon
:file="file"
v-if="file.mrChange" v-if="file.mrChange"
/> />
<changed-file-icon <changed-file-icon
......
...@@ -84,10 +84,10 @@ export function redirectTo(url) { ...@@ -84,10 +84,10 @@ export function redirectTo(url) {
return window.location.assign(url); return window.location.assign(url);
} }
export function webIDEUrl(projectUrl = undefined) { export function webIDEUrl(route = undefined) {
let returnUrl = `${gon.relative_url_root}/-/ide/`; let returnUrl = `${gon.relative_url_root}/-/ide/`;
if (projectUrl) { if (route) {
returnUrl += `project${projectUrl}`; returnUrl += `project${route}`;
} }
return returnUrl; return returnUrl;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment