Skip to content

Commit 0203b25

Browse files
Mark RTIR components as accessible for the homepage
Dashboards in RT 6 now look for the attribute directly_accessible to determine if the Mason component can be rendered directly on a page. Add this to the RTIR components made to show on the default home page.
1 parent 7435b43 commit 0203b25

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

html/RTIR/Elements/QueueSummary

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,3 +198,6 @@ while ( my $entry = $report->Next ) {
198198
<%ARGS>
199199
@statuses => ()
200200
</%ARGS>
201+
<%ATTR>
202+
directly_accessible => 1
203+
</%ATTR>

html/RTIR/Elements/WorkWithConstituency

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,6 @@ for my $queue (@{$queues->ItemsArrayRef}) {
6969
# XXX TODO Caching
7070
# XXX TODO pull the current default
7171
</%init>
72+
<%attr>
73+
directly_accessible => 1
74+
</%attr>

0 commit comments

Comments
 (0)