diff options
author | HesterG <hestergong@gmail.com> | 2023-05-30 00:32:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 16:32:15 +0000 |
commit | 085a8857f9b0aff3aa84076e4dc13adcbc47e69a (patch) | |
tree | 3d81c3c74f748454122e45247815b67833f71bc1 /templates/repo/projects | |
parent | 970e1c98ecac593f64048fc5edc90d0023f30322 (diff) | |
download | gitea-085a8857f9b0aff3aa84076e4dc13adcbc47e69a.tar.gz gitea-085a8857f9b0aff3aa84076e4dc13adcbc47e69a.zip |
Fix repo level project - edit column (#24982)
Right now edit column of repo level project is not working, because edit
button does not have the `edit-column-button` class, which is used in
the [js
selector](https://github.com/go-gitea/gitea/blob/28077e66c0a5593f001e89ef1ff02627dbe029a1/web_src/js/features/repo-projects.js#L106)
After:
https://github.com/go-gitea/gitea/assets/17645053/e1fba190-477d-4814-87f2-0fd979376840
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/repo/projects')
-rw-r--r-- | templates/repo/projects/view.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index aa76252832..f249854b15 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -150,7 +150,7 @@ <div class="text right actions"> <button class="ui cancel button">{{$.locale.Tr "settings.cancel"}}</button> - <button data-url="{{$.RepoLink}}/projects/{{$.Project.ID}}/{{.ID}}" class="ui primary button">{{$.locale.Tr "repo.projects.column.edit"}}</button> + <button data-url="{{$.RepoLink}}/projects/{{$.Project.ID}}/{{.ID}}" class="ui primary button edit-column-button">{{$.locale.Tr "repo.projects.column.edit"}}</button> </div> </form> </div> |