mirror of
1
Fork 0

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)
This commit is contained in:
wackbyte 2024-01-03 01:25:19 -05:00 committed by GitHub
parent 12c0487e01
commit 361839fb1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
{{ctx.Locale.Tr "settings.added_on" (DateTime "short" .CreatedUnix) | Safe}} {{ctx.Locale.Tr "settings.added_on" (DateTime "short" .CreatedUnix) | Safe}}
</span> </span>
<button class="btn interact-bg gt-p-3 show-modal" <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="#edit-variable-modal"
data-modal-form.action="{{$.Link}}/{{.ID}}/edit" data-modal-form.action="{{$.Link}}/{{.ID}}/edit"
data-modal-header="{{ctx.Locale.Tr "actions.variables.edit"}}" data-modal-header="{{ctx.Locale.Tr "actions.variables.edit"}}"