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:
parent
12c0487e01
commit
361839fb1c
|
@ -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"}}"
|
||||||
|
|
Loading…
Reference in New Issue