[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-445-gcaac75d

Thomas Sibley trs at bestpractical.com
Tue Nov 9 16:46:35 EST 2010


The branch, 3.9-trunk has been updated
       via  caac75db73f3d881104f04b91eab9413f9b94bc8 (commit)
       via  3bd1c472d212bb2d64cc94cda3843e05cb48cc61 (commit)
      from  a64ca60fe2efdc8951d7a1abaf95feb5a9282fe4 (commit)

Summary of changes:
 share/html/Admin/Global/Theme.html |    3 +++
 share/html/NoAuth/css/web2/nav.css |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 3bd1c472d212bb2d64cc94cda3843e05cb48cc61
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Nov 9 16:19:29 2010 -0500

    Cleanup the borders on the menus

diff --git a/share/html/NoAuth/css/web2/nav.css b/share/html/NoAuth/css/web2/nav.css
index 1f90d5b..b067cd6 100644
--- a/share/html/NoAuth/css/web2/nav.css
+++ b/share/html/NoAuth/css/web2/nav.css
@@ -171,6 +171,7 @@
     border: 1px solid #ccc;
     -moz-border-radius-bottomleft: 0.5em;
     -webkit-border-bottom-left-radius: 0.5em;
+    border-right: none;
 }
 
 #page-navigation .sf-menu {
@@ -222,6 +223,8 @@
     border: 1px solid #ccc;
     -moz-border-radius-bottomleft: 0.5em;
     -webkit-border-bottom-left-radius: 0.5em;
+    border-right: none;
+    border-top: none;
     list-style-type: none;
     padding: 0.5em;
 }

commit caac75db73f3d881104f04b91eab9413f9b94bc8
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Nov 9 16:46:40 2010 -0500

    Add some more error reporting

diff --git a/share/html/Admin/Global/Theme.html b/share/html/Admin/Global/Theme.html
index c0066ce..ec1c81a 100644
--- a/share/html/Admin/Global/Theme.html
+++ b/share/html/Admin/Global/Theme.html
@@ -195,6 +195,8 @@ if (my $file_hash = _UploadedFile( 'logo-upload' )) {
                                                 Content => {
                                                     type => $file_hash->{ContentType},
                                                     data => $file_hash->{LargeContent} } );
+    push @results, loc("Unable to set UserLogo: [_1]", $msg) unless $id;
+
     $img = Imager->new;
     unless ( $img->read(data => $file_hash->{LargeContent}) ) {
         push @results, loc("Unable to read image: [_1]", $img->errstr);
@@ -229,6 +231,7 @@ if ($user_css) {
         my ($id, $msg) = $RT::System->SetAttribute( Name => "UserCSS",
                                                     Description => "User-provided css",
                                                     Content => $user_css );
+        push @results, loc("Unable to set UserCSS: [_1]", $msg) unless $id;
     }
 }
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list