summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYarden Shoham <hrsi88@gmail.com>2022-10-09 10:17:01 +0300
committerGitHub <noreply@github.com>2022-10-09 15:17:01 +0800
commit97f3f1988b2b544350f58aa8b49cb958bb4da5b5 (patch)
tree44beafd21d58bba79a62ec71c65396cfe491d251
parent768e16dad19e98e5a6090bd09a7662da6079eae0 (diff)
downloadgitea-97f3f1988b2b544350f58aa8b49cb958bb4da5b5.tar.gz
gitea-97f3f1988b2b544350f58aa8b49cb958bb4da5b5.zip
Fix typos in PullRequestMergeForm.vue header comment (#21378)
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
-rw-r--r--web_src/js/components/PullRequestMergeForm.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/components/PullRequestMergeForm.vue b/web_src/js/components/PullRequestMergeForm.vue
index 64ba98728e..bfe05628e8 100644
--- a/web_src/js/components/PullRequestMergeForm.vue
+++ b/web_src/js/components/PullRequestMergeForm.vue
@@ -1,7 +1,7 @@
<template>
<!--
- if this component is shown, either the user is admin (can do merge without checks), or they is a writer who has the permission to do merge
- if the user is a writer and can't do merge now (canMergeNow==false), then only show the Auto Merge for them
+ if this component is shown, either the user is an admin (can do a merge without checks), or they are a writer who has the permission to do a merge
+ if the user is a writer and can't do a merge now (canMergeNow==false), then only show the Auto Merge for them
How to test the UI manually:
* Method 1: manually set some variables in pull.tmpl, eg: {{$notAllOverridableChecksOk = true}} {{$canMergeNow = false}}
* Method 2: make a protected branch, then set state=pending/success :