summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/diffs/components/diff_file.vue9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_file.vue b/app/assets/javascripts/diffs/components/diff_file.vue
index 43953361a77..63350fafefa 100644
--- a/app/assets/javascripts/diffs/components/diff_file.vue
+++ b/app/assets/javascripts/diffs/components/diff_file.vue
@@ -151,11 +151,10 @@ export default {
<div v-if="forkMessageVisible" class="js-file-fork-suggestion-section file-fork-suggestion">
<span class="file-fork-suggestion-note">
- {{ sprintf(__("You're not allowed to %{edit} files in this project directly. Please fork
- this project, make your changes there, and submit a merge request."), { edit: '<span
- class="js-file-fork-suggestion-section-action"
- >edit</span
- >' }) }}
+ {{ sprintf(__("You're not allowed to %{tag_start}edit%{tag_end} files in this project
+ directly. Please fork this project, make your changes there, and submit a merge request."),
+ { tag_start: '<span class="js-file-fork-suggestion-section-action">', tag_end: '</span>' })
+ }}
</span>
<a
:href="file.fork_path"