Permalink
Browse files

Cleaned up sidebar. Will need to test on other browsers.

  • Loading branch information...
1 parent ac37445 commit 8eda94573c6dc3aa2fbb593c5c661cc7d0dec44d @unsay committed Jan 16, 2012
@@ -1,8 +1,12 @@
-%h3 Recent Commit
-= build.commit_data? ? l(build.committed_at, :format => :long) : "Commit date not yet available"
-= build.commit_data? ? (" by " + mail_to(build.email, build.author)).html_safe : "Author not yet available"
-%br
-%code= build.commit_data? ? build.commit : "Commit hash not yet available"
-%br
-= build.commit_data? ? build.commit_message : "Message not yet available"
+.commit-detail
+ %span.label Commit
+ %code.commit= build.commit_data? ? build.commit : "Commit hash not yet available"
+ %br
+ %span.label Author
+ = build.commit_data? ? (mail_to(build.email, build.author)).html_safe : "Author not yet available"
+ %br
+ %span.label Date
+ = build.commit_data? ? l(build.committed_at, :format => :long) : "Commit date not yet available"
+ %blockquote
+ = build.commit_data? ? build.commit_message : "Message not yet available"
@@ -14,6 +14,6 @@
= build_duration(@build)
%br
%span.label Directory
- %code{ :style => 'float:left;' }= strip_rails_root(@build.build_dir)
+ %code.directory= truncate(strip_rails_root(@build.build_dir), :length => 28, :omission => '…')
%hr
= render :partial => "builds/build_data", :locals => {:build => @build}
@@ -18,6 +18,13 @@ samp {
margin: 0 .5em;
}
+.commit-detail code.commit {
+ font-size:.7em;
+}
+.commit-detail blockquote {
+ margin-top: 1em;
+}
+
div.project {
padding: 1.5em;
}

0 comments on commit 8eda945

Please sign in to comment.