Commits

Steve Losh committed 13aa46d

Humanize the last build time.

Comments (0)

Files changed (2)

site-media/styles/tinpan.css

     padding: 1em;
     margin: 3em auto;
     width: 800px;
+}
+
+p.project-status {
+    margin-top: -1.5em;
+    color: #666;
 }

templates/integration/overview.html

     {% for project in projects %}
         <h2>{{ project.name }}</h2>
         <p class="project-status">
-            Last build:
+            Last build
             {% if project.last_build.success %}
-                Succeeded
+                succeeded
             {% else %}
-                Failed
+                failed
             {% endif %}
-            at
-            {{ project.last_build.end_time }}</p>
+            {{ project.last_build.end_time|timesince }} ago.</p>
     {% endfor %}
 {% endblock content %}