Files
wekan/client/components/boards/groupByAssigneeView.jade
T
Lauri Ojansivu 457614a2ac Use security-aware title viewers in timeline and Gantt views
Render remaining board titles through the shared Markdown and emoji viewer, including DHTMLX task names. Escape rendered text in Frappe SVG labels and use formatted titles in chart popups. Observe settings when charts refresh. Import routing and date dependencies explicitly in the assignee view to prevent ReferenceErrors. Add runtime helper, compiler and browser regression coverage.

Thanks to xet7 !
2026-09-14 02:45:46 +03:00

24 lines
906 B
Plaintext

template(name="groupByAssigneeView")
.stats-view
.stats-view-content
h1.stats-view-title {{_ 'board-view-group-by-assignee'}}
if isLoading
p.quiet {{_ 'loading'}}
else if hasGroups
each groups
.stats-view-section
h2.stats-view-heading {{groupLabel label}} ({{cards.length}})
ul.group-by-assignee-cards
each cards
li.group-by-assignee-card
a.group-by-assignee-card-link(href="{{ cardUrl cardId }}")
span.group-by-assignee-card-title
+viewer
= title
if dueAt
span.group-by-assignee-card-due {{ formatDueAt dueAt }}
if isOvertime
i.fa.fa-clock-o.group-by-assignee-card-overtime
else
p.quiet {{_ 'group-by-assignee-empty'}}