From ec10d05697c5e8b89d4a76374563bacaf4238d02 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 6 Aug 2014 14:47:15 +0800 Subject: Bug 1047131: enable "user story" field on all products --- .../hook/bug/comments-comment_banner.html.tmpl | 2 +- .../create/create-after_custom_fields.html.tmpl | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'extensions/UserStory/template/en') diff --git a/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl b/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl index dcb95524e..c7c202d62 100644 --- a/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl +++ b/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl @@ -6,7 +6,7 @@ # defined by the Mozilla Public License, v. 2.0. #%] -[% RETURN UNLESS bug.user_story_group.0 %] +[% RETURN UNLESS bug.user_story_visible.0 %] [% can_edit_story = bug.check_can_change_field('cf_user_story', 0, 1) %]
diff --git a/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl b/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl index a0c904fe0..04c7f3c04 100644 --- a/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl +++ b/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl @@ -6,7 +6,7 @@ # defined by the Mozilla Public License, v. 2.0. #%] -[% RETURN UNLESS default.user_story_group.0 && default.check_can_change_field('cf_user_story', 0, 1) %] +[% RETURN UNLESS default.user_story_visible.0 && default.check_can_change_field('cf_user_story', 0, 1) %] @@ -33,15 +33,15 @@ %]