From 779b283127b310bb8676d11fed7a071ef1ce4ceb Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 17 Feb 2010 13:49:23 -0800 Subject: Bug 529201: Add help for every single field to fields.html r=LpSolit, a=LpSolit --- Bugzilla/Field.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Bugzilla/Field.pm') diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm index c2ab6e11b..6b9ceb7c0 100644 --- a/Bugzilla/Field.pm +++ b/Bugzilla/Field.pm @@ -547,6 +547,24 @@ sub legal_values { =over +=item C + +True if this is a time-tracking field that should only be shown to users +in the C. + +=back + +=cut + +sub is_timetracking { + my ($self) = @_; + return grep($_ eq $self->name, TIMETRACKING_FIELDS) ? 1 : 0; +} + +=pod + +=over + =item C What field controls this field's visibility? Returns a C -- cgit v1.2.3-24-g4f1b