summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-09-23 05:41:17 +0200
committerByron Jones <glob@mozilla.com>2014-09-23 05:41:17 +0200
commit7a7013402fb30e8777bc09fb9971651392e65ea1 (patch)
treeccdcff1fbe901d08afbf157ce47c255241a66e6c /extensions/BMO/template/en/default/bug/create/user-message.html.tmpl
parent9773ddfe2f9da1d72843b0f5fb7476f3bf4995d2 (diff)
downloadbugzilla-7a7013402fb30e8777bc09fb9971651392e65ea1.tar.gz
bugzilla-7a7013402fb30e8777bc09fb9971651392e65ea1.tar.xz
Bug 1037663: Make custom bug entry forms more discoverable
Diffstat (limited to 'extensions/BMO/template/en/default/bug/create/user-message.html.tmpl')
-rw-r--r--extensions/BMO/template/en/default/bug/create/user-message.html.tmpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl b/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl
index b548ba127..52014ae15 100644
--- a/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl
@@ -22,3 +22,28 @@
most frequently reported [% terms.bugs %]</a> and <a href="https://bugzilla.mozilla.org/query.cgi">
search through descriptions</a> of previously reported [% terms.bugs %].
</p>
+
+[%
+ PROCESS bug/create/custom_forms.none.tmpl;
+ visible_forms = [];
+ FOREACH form = custom_forms.${product.name};
+ NEXT IF form.hide;
+ NEXT IF form.group && !user.in_group(form.group);
+ visible_forms.push(form);
+ END;
+ RETURN UNLESS visible_forms.size;
+%]
+
+<div id="custom_form_list">
+ <img src="extensions/BMO/web/images/notice.png" width="48" height="48" id="custom_form_list_image">
+ <div id="custom_form_list_text">
+ This product has task-specific [% terms.bug %] forms that should be used if
+ appropriate:
+
+ <ul>
+ [% FOREACH form = visible_forms.sort("title") %]
+ <li><a href="[% form.link FILTER none %]">[% form.title FILTER html %]</a></li>
+ [% END %]
+ </ul>
+ </div>
+</div>