diff options
author | Dave Lawrence <dkl@mozilla.com> | 2011-11-11 19:22:55 +0100 |
---|---|---|
committer | Dave Lawrence <dkl@mozilla.com> | 2011-11-11 19:22:55 +0100 |
commit | 7183c32daf75d650c5345e98dea466d64c7ac3f2 (patch) | |
tree | 72cbdb78229a2b3904f9e5ec95a445f6192e4cee | |
parent | b46fb5da1901ed12951dc614ad8a40086a9f833c (diff) | |
download | bugzilla-7183c32daf75d650c5345e98dea466d64c7ac3f2.tar.gz bugzilla-7183c32daf75d650c5345e98dea466d64c7ac3f2.tar.xz |
Bug 701170 - When no cc users attached to a bug, a blank 100px height empty box is displayed. Should be removed
r=glob
-rw-r--r-- | skins/custom/show_bug.css | 2 | ||||
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 15 |
2 files changed, 8 insertions, 9 deletions
diff --git a/skins/custom/show_bug.css b/skins/custom/show_bug.css index 23839fe17..b96c997f1 100644 --- a/skins/custom/show_bug.css +++ b/skins/custom/show_bug.css @@ -28,10 +28,10 @@ margin:0px; padding:5px; padding-right:20px; - height:100px; overflow:auto; float:left; max-width:465px; + max-height:100px; border:1px solid #CCC; } diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index b44d7c9b0..ae7ee8047 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -821,14 +821,13 @@ [% IF user.id || bug.cc.size %] <span id="cc_edit_area_showhide_container" class="bz_default_hidden"> (<a href="#" id="cc_edit_area_showhide">[% IF user.id %]edit[% ELSE %]show[% END %]</a>) - [% IF user.id %] - <div id="cc_list_num_users"> - <ul class="cc_list_display"> - [% FOREACH c = bug.cc %] - <li>[% c FILTER email FILTER html %]</li> - [% END %] - </ul> - </div> + [% IF user.id && bug.cc.size %] + <br> + <ul class="cc_list_display"> + [% FOREACH c = bug.cc %] + <li>[% c FILTER email FILTER html %]</li> + [% END %] + </ul> [% END %] </span> [% END %] |