aboutsummaryrefslogtreecommitdiffstats
path: root/templates/shared
diff options
context:
space:
mode:
authorwackbyte <wackbyte@protonmail.com>2024-01-03 01:25:19 -0500
committerGitHub <noreply@github.com>2024-01-03 06:25:19 +0000
commit361839fb1c8bdfb8291bbcf9bd650b21a605bbd7 (patch)
treeef8902a860684292135a319e1c0413375b314234 /templates/shared
parent12c0487e01d3fd9fe289345c53e8a220be55e864 (diff)
downloadgitea-361839fb1c8bdfb8291bbcf9bd650b21a605bbd7.tar.gz
gitea-361839fb1c8bdfb8291bbcf9bd650b21a605bbd7.zip
Fix tooltip of variable edit button (#28681)
The `variables.edit` key does not exist. ![image](https://github.com/go-gitea/gitea/assets/29505620/462a1c6c-775c-466a-8398-37115b2af47a)
Diffstat (limited to 'templates/shared')
-rw-r--r--templates/shared/variables/variable_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/variables/variable_list.tmpl b/templates/shared/variables/variable_list.tmpl
index 790e270417..fc5cd966fc 100644
--- a/templates/shared/variables/variable_list.tmpl
+++ b/templates/shared/variables/variable_list.tmpl
@@ -33,7 +33,7 @@
{{ctx.Locale.Tr "settings.added_on" (DateTime "short" .CreatedUnix) | Safe}}
</span>
<button class="btn interact-bg gt-p-3 show-modal"
- data-tooltip-content="{{ctx.Locale.Tr "variables.edit"}}"
+ data-tooltip-content="{{ctx.Locale.Tr "actions.variables.edit"}}"
data-modal="#edit-variable-modal"
data-modal-form.action="{{$.Link}}/{{.ID}}/edit"
data-modal-header="{{ctx.Locale.Tr "actions.variables.edit"}}"