From 3ac701266452d3509776fe58f9e1b2b8e9f33c1e Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 24 Mar 2015 13:45:44 +0800 Subject: Bug 1096798: prototype modal show_bug view --- template/en/default/attachment/created.html.tmpl | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'template/en/default/attachment/created.html.tmpl') 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 %]

-[% 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 %] -- cgit v1.2.3-24-g4f1b