diff options
author | yp05327 <576951401@qq.com> | 2023-05-24 15:05:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 14:05:50 +0800 |
commit | fd1967c3a49e1945a456a53a60b17dfd7fa899ec (patch) | |
tree | d9ca144dc7f36d424b2d8badc544f258a342bf45 | |
parent | c21605951b581440bb08b65d5907b1cd4e0ab6c5 (diff) | |
download | gitea-fd1967c3a49e1945a456a53a60b17dfd7fa899ec.tar.gz gitea-fd1967c3a49e1945a456a53a60b17dfd7fa899ec.zip |
Fix can’t move anymore items in repo project boards (#24892)
Fix #24879
Related to #24589
In #24589, I changed the css, but didn't reflect the changes in
repo-level projects template.
-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 73548701d4..f297470d25 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -77,7 +77,7 @@ </div> <div class="ui container fluid padded" id="project-board"> - <div class="board"> + <div class="board {{if .CanWriteProjects}}sortable{{end}}"> {{range $board := .Boards}} <div class="ui segment board-column" style="background: {{.Color}} !important;" data-id="{{.ID}}" data-sorting="{{.Sorting}}" data-url="{{$.RepoLink}}/projects/{{$.Project.ID}}/{{.ID}}"> |