Skip to content
Browse files

Show author and commit message on home screen.

  • Loading branch information...
1 parent 37b7f3f commit 1abd154f9cc12a5062dc47da6cc9af117db0459e @guilhermechapiewski committed Jul 28, 2009
Showing with 14 additions and 2 deletions.
  1. +10 −1 skink/media/integrity/css/integrity.css
  2. +4 −1 skink/templates/integrity/index.html
View
11 skink/media/integrity/css/integrity.css
@@ -217,7 +217,7 @@ a.integrity_link {
#content #projects li .meta {
position: absolute;
right: .6em;
- top: 1.5em;
+ top: 1.1em;
font-size: 0.8em;
color: #999999;
text-align: right; }
@@ -227,6 +227,15 @@ a.integrity_link {
color: #337022; }
#content #projects li.failed .meta {
color: #ff1100; }
+ #content #projects .build_details {
+ margin-right: 5px;
+ float: left;
+ font-size: .75em;
+ }
+ #content #projects .project_status {
+ margin-top: .4em;
+ float:left;
+ }
#content #previous_builds li a {
display: block;
padding: .25em;
View
5 skink/templates/integrity/index.html
@@ -15,7 +15,10 @@
<?python index = index + 1 ?>
<a class="integrity_link" href="/project/${project.id}">${project.name}</a>
<div class="meta" py:if="project.builds">
- Build <py:if test="project.builds[0].commit_number">${project.builds[0].commit_number[:7]}</py:if><py:if test="not project.builds[0].commit_number">UNKNOWN</py:if> ${project.builds[0].status == "SUCCESS" and "succeeded" or "failed"}
+ <div class="build_details">
+ <py:if test="project.builds[0].commit_author">${project.builds[0].commit_author}</py:if><br />
+ <i><py:if test="project.builds[0].commit_text">${project.builds[0].commit_text[:75]}</py:if></i>
+ </div>
<img src="/media/common/images/${project.build_status=='BUILDING' and 'building.gif' or 'accept.png'}"
class="project_status" title="${project.build_status=='BUILDING' and 'Currently in the process of building...' or 'This project has been built.'}"
id="build_status_${project.id}" align="absMiddle" />

0 comments on commit 1abd154

Please sign in to comment.
Something went wrong with that request. Please try again.