diff options
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r-- | template/en/default/attachment/created.html.tmpl | 16 | ||||
-rw-r--r-- | template/en/default/attachment/updated.html.tmpl | 15 |
2 files changed, 27 insertions, 4 deletions
diff --git a/template/en/default/attachment/created.html.tmpl b/template/en/default/attachment/created.html.tmpl index da2fec823..92bd745a2 100644 --- a/template/en/default/attachment/created.html.tmpl +++ b/template/en/default/attachment/created.html.tmpl @@ -26,7 +26,14 @@ [% PROCESS global/variables.none.tmpl %] [% bug = bugs.0 %] -[% PROCESS "bug/show-header.html.tmpl" %] + +[%# BMO: allow experimental UIs to replace show-header %] +[% IF alt_ui_header %] + [% PROCESS $alt_ui_header %] +[% ELSE %] + [% PROCESS "bug/show-header.html.tmpl" %] +[% END %] + [% PROCESS global/header.html.tmpl title = "Attachment $attachment.id added to $terms.Bug $attachment.bug_id" %] @@ -64,4 +71,9 @@ Another Attachment to [% terms.Bug %] [%+ attachment.bug_id %]</a> </p> -[% PROCESS bug/show.html.tmpl %] +[%# BMO: allow experimental UIs to replace show-bug %] +[% IF alt_ui_show %] + [% PROCESS $alt_ui_show %] +[% ELSE %] + [% PROCESS "bug/show.html.tmpl" %] +[% END %] diff --git a/template/en/default/attachment/updated.html.tmpl b/template/en/default/attachment/updated.html.tmpl index 9a74f5c98..5b37231bd 100644 --- a/template/en/default/attachment/updated.html.tmpl +++ b/template/en/default/attachment/updated.html.tmpl @@ -26,7 +26,13 @@ [% PROCESS global/variables.none.tmpl %] [% bug = bugs.0 %] -[% PROCESS "bug/show-header.html.tmpl" %] +[%# BMO: allow experimental UIs to replace show-header %] +[% IF alt_ui_header %] + [% PROCESS $alt_ui_header %] +[% ELSE %] + [% PROCESS "bug/show-header.html.tmpl" %] +[% END %] + [% PROCESS global/header.html.tmpl title = "Changes Submitted to Attachment $attachment.id of $terms.Bug $attachment.bug_id" %] @@ -43,4 +49,9 @@ </dd> </dl> -[% PROCESS bug/show.html.tmpl %] +[%# BMO: allow experimental UIs to replace show-bug %] +[% IF alt_ui_show %] + [% PROCESS $alt_ui_show %] +[% ELSE %] + [% PROCESS "bug/show.html.tmpl" %] +[% END %] |