fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-12-16 03:09 pm

[dw-free] Support table header is bordered... oddly.

[commit: http://hg.dwscoalition.org/dw-free/rev/18418924badc]

http://bugs.dwscoalition.org/show_bug.cgi?id=3344

Fix borders on the table headers.

Patch by [personal profile] ninetydegrees.

Files modified:
  • htdocs/stc/support.css
  • htdocs/support/help.bml
--------------------------------------------------------------------------------
diff -r 8c90fc6a9f74 -r 18418924badc htdocs/stc/support.css
--- a/htdocs/stc/support.css	Thu Dec 16 22:57:45 2010 +0800
+++ b/htdocs/stc/support.css	Thu Dec 16 23:09:15 2010 +0800
@@ -1,5 +1,6 @@
 /* support */
 
+.supporttable th,
 .supporttable td {
     padding: 1em;
     border: 1px solid #000;
@@ -17,7 +18,7 @@
 }
 
 .support-requesttable-internal td {
-	border: 3px solid #ff0000;
+    border: 3px solid #ff0000;
     padding: 1em;
 }
 
diff -r 8c90fc6a9f74 -r 18418924badc htdocs/support/help.bml
--- a/htdocs/support/help.bml	Thu Dec 16 22:57:45 2010 +0800
+++ b/htdocs/support/help.bml	Thu Dec 16 23:09:15 2010 +0800
@@ -261,7 +261,7 @@ body<=
  $ret .= "<p><table class='supporttable'><tr bgcolor='#d0d0d0'>\n";
  if ( $can_close ) {
     my $link = "$uri&sort=$sort&closeall=" . ( $GET{closeall} ? 0 : 1 );
-    $ret .= "<td>&nbsp;<b><a href='$link'>X</a></b></td>\n";
+    $ret .= "<th>&nbsp;<a href='$link'>X</a></th>\n";
  }
  my @headers = ( id => "ID#", summary => $ML{'.th.summary'}, area => $ML{'.th.problemarea'}, date => $ML{'.th.posted'} );
  while (my ($sorttype, $desc) = splice(@headers, 0, 2)) {
@@ -271,7 +271,7 @@ body<=
          $ret .= "<th><a href='$uri&sort=$sorttype'>$desc</a></th>\n";
      }
  }
- $ret .= "<td><b>$ML{'.th.status'}</b></td>\n";
+ $ret .= "<th>$ML{'.th.status'}</th>\n";
  $ret .= "</tr>";
 
  foreach my $sp (@support_log)
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org