diff options
author | yp05327 <576951401@qq.com> | 2023-03-12 20:09:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 19:09:20 +0800 |
commit | e72290fd9aeb77a47311483d1d565e428ce40cd9 (patch) | |
tree | 8481497dc0adced65e468c60584a4beba096e000 /templates/projects | |
parent | c6f50297084ebd9ec8b8c25370b9b963167274eb (diff) | |
download | gitea-e72290fd9aeb77a47311483d1d565e428ce40cd9.tar.gz gitea-e72290fd9aeb77a47311483d1d565e428ce40cd9.zip |
Sync the class change of Edit Column Button to JS code (#23400)
In #22767, we changed the class of `Edit Column` button from `red` to
`primary`
But `red` is used to find this button in js.....
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/projects')
-rw-r--r-- | templates/projects/view.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index 474b22a2f1..06192f630b 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -128,7 +128,7 @@ <div class="text right actions"> <div class="ui cancel button">{{$.locale.Tr "settings.cancel"}}</div> - <button data-url="{{$.Link}}/{{.ID}}" class="ui primary button">{{$.locale.Tr "repo.projects.column.edit"}}</button> + <button data-url="{{$.Link}}/{{.ID}}" class="ui primary button edit-column-button">{{$.locale.Tr "repo.projects.column.edit"}}</button> </div> </form> </div> |