Files
wekan/client/components/boards/roadmapView.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

22 lines
797 B
Plaintext

template(name="roadmapView")
.gantt-view.roadmap-view
h2 {{_ 'board-view-roadmap'}}
if hasCustomFields
.roadmap-field-picker
label.roadmap-field-picker-label(for="roadmapFieldSelect") {{_ 'roadmap-group-by'}}
select#roadmapFieldSelect.js-roadmap-field-select
each customFieldOptions
option(value="{{_id}}" selected="{{isSelected _id}}") {{name}}
if hasGroups
each groups
.roadmap-row
.roadmap-row-heading
+viewer
= label
| ({{cards.length}})
.js-roadmap-gantt-container.roadmap-gantt-container(data-group-key="{{key}}")
else
p.roadmap-empty {{_ 'roadmap-no-cards'}}
else
p.roadmap-empty {{_ 'roadmap-empty-no-custom-fields'}}