diff options
4 files changed, 7 insertions, 18 deletions
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 c7c202d62..6a7770066 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 @@ -7,6 +7,7 @@ #%] [% 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) %] <div class="user_story"> @@ -29,7 +30,9 @@ (<a href="javascript:void(0)" id="user_story_edit_action" >edit</a>) </span> [% END %] - [% IF bug.cf_user_story != "" %] + [% IF user.id + && bug.cf_user_story != "" + && bug.check_can_change_field('longdesc', 0, 1) %] <span id="user_story_comment"> [<a class="bz_reply_link" href="#user_story_comment" onclick="userStoryComment(); return false;" diff --git a/skins/contrib/Mozilla-OpenSans/global.css b/skins/contrib/Mozilla-OpenSans/global.css index 37c485e82..f9b24970d 100644 --- a/skins/contrib/Mozilla-OpenSans/global.css +++ b/skins/contrib/Mozilla-OpenSans/global.css @@ -452,16 +452,9 @@ table.edit_form hr { background: #ffffff; } -.bz_comment_table { -} - .bz_comment { - width: 65em; - margin: 0 0 20px; -} - -.bz_comment_table .bz_comment { width: 65em !important; + margin: 0 0 20px; } .bz_comment pre, #comment { diff --git a/skins/contrib/Mozilla/global.css b/skins/contrib/Mozilla/global.css index b43488e9f..2a3396a6e 100644 --- a/skins/contrib/Mozilla/global.css +++ b/skins/contrib/Mozilla/global.css @@ -495,16 +495,9 @@ table.edit_form hr { background: #ffffff; } -.bz_comment_table { -} - .bz_comment { - width: 65em; - margin: 0 0 20px; -} - -.bz_comment_table .bz_comment { width: 65em !important; + margin: 0 0 20px; } .bz_comment pre, #comment { diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 496a98b1b..da4c675c7 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -195,7 +195,7 @@ [% IF user.settings.comment_box_position.value == 'before_comments' %] [% PROCESS comment_box %] - [% ELSE %] + [% ELSIF user.id %] [% PROCESS summon_comment_box %] [% END %] </td> |