summaryrefslogtreecommitdiffstats
path: root/extensions/LastResolved/template/en/default/hook
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@redhat.com>2014-06-19 20:49:12 +0200
committerDavid Lawrence <dkl@redhat.com>2014-06-19 20:49:12 +0200
commit0a07cc286bfc870929f1af17e1bfdf8df73b9ff2 (patch)
tree0802d60ba28326f902984a80ad822680f188b23d /extensions/LastResolved/template/en/default/hook
parent28c28019236ab11342415043ade727e102f1424f (diff)
downloadbugzilla-0a07cc286bfc870929f1af17e1bfdf8df73b9ff2.tar.gz
bugzilla-0a07cc286bfc870929f1af17e1bfdf8df73b9ff2.tar.xz
Bug 1012782 - Expose cf_last_resolved in the RPC API
r=glob
Diffstat (limited to 'extensions/LastResolved/template/en/default/hook')
-rw-r--r--extensions/LastResolved/template/en/default/hook/bug/edit-custom_field.html.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/LastResolved/template/en/default/hook/bug/edit-custom_field.html.tmpl b/extensions/LastResolved/template/en/default/hook/bug/edit-custom_field.html.tmpl
new file mode 100644
index 000000000..27366b01f
--- /dev/null
+++ b/extensions/LastResolved/template/en/default/hook/bug/edit-custom_field.html.tmpl
@@ -0,0 +1,12 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[%# Do not display the last resolved value in the UI %]
+[% IF field.name == 'cf_last_resolved' %]
+ [% field.hidden = 1 %]
+[% END %]