From e394756f42902de5eade4f6738127c25fa2bcef7 Mon Sep 17 00:00:00 2001
From: "ghendricks%novell.com" <>
Date: Fri, 17 Jul 2009 22:40:09 +0000
Subject: Bug 456743 - Add the ability to disable field values (mark them as
inactive) patch by ghendricks@novell.com r=LpSolit, a=LpSolit
---
template/en/default/admin/fieldvalues/edit.html.tmpl | 13 ++++++++++++-
template/en/default/admin/fieldvalues/list.html.tmpl | 5 +++++
template/en/default/bug/field.html.tmpl | 2 +-
template/en/default/search/form.html.tmpl | 14 ++++++++------
4 files changed, 26 insertions(+), 8 deletions(-)
(limited to 'template/en/default')
diff --git a/template/en/default/admin/fieldvalues/edit.html.tmpl b/template/en/default/admin/fieldvalues/edit.html.tmpl
index b01415577..5650ee87b 100644
--- a/template/en/default/admin/fieldvalues/edit.html.tmpl
+++ b/template/en/default/admin/fieldvalues/edit.html.tmpl
@@ -81,8 +81,19 @@
[% END %]
+
+
+
+ [% IF value.is_default %]
+ This value is selected as default in the parameters for this field. It cannot be disabled.
+ [% ELSIF value.is_static %]
+ This value is non-deletable and cannot be disabled.
+ [% END %]
+