[%# 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. #%] [% RETURN UNLESS bug.user_story_visible.0 %] [% RETURN IF user.id == 0 && bug.cf_user_story == "" %] [% can_edit_story = bug.check_can_change_field('cf_user_story', 0, 1) %]