-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue checklist progress on kanban board #27983
Comments
#27865 |
~/gitea git diff
diff --git a/templates/repo/issue/card.tmpl b/templates/repo/issue/card.tmpl
index 3cc853b35..79a5474ab 100644
--- a/templates/repo/issue/card.tmpl
+++ b/templates/repo/issue/card.tmpl
@@ -51,10 +51,11 @@
{{end}}
{{$tasks := .GetTasks}}
{{if gt $tasks 0}}
- <div class="meta gt-my-2">
- {{svg "octicon-checklist" 16 "gt-mr-2 gt-vm"}}
- <span class="gt-vm">{{.GetTasksDone}} / {{$tasks}}</span>
- </div>
+ {{$tasksDone := .GetTasksDone}}
+ <span class="checklist flex-text-inline">
+ {{svg "octicon-checklist" 14}}{{$tasksDone}} / {{$tasks}}
+ <progress value="{{$tasksDone}}" max="{{$tasks}}"></progress>
+ </span>
{{end}}
</div> I implemented it using the patch above but I think it takes too much space. You can patch this or adjust the style to your instance if you like. I don't know if others like the |
I like it but maybe it's better to keep the progress style the same as it displayed on issue list. |
I removed the progress bar because it was too big and the style classes were tightly bundled to the issue list. |
Feature Description
If first message of issue has a checklist it is showed as progress in issue list.
It would be great to see such progress bar on issue card on kanban board
Screenshots
No response
The text was updated successfully, but these errors were encountered: