my eye

Tighten up project commit log

Committed 0a9f5c

--- a/webint_code/templates/project/commit_log.html
+++ b/webint_code/templates/project/commit_log.html

 
 $for commit_id, commit in repo.log().items():
     $ title, _, description = commit["message"].partition("\n\n")
-    <div class=h-entry><a
-    href=/projects/$project/commits/$commit_id>$commit_id[:7]</a>
+    $ ts = commit["timestamp"]
+    <div class=h-entry>
+    <code><a href=/projects/$project/commits/$commit_id>$commit_id[:7]</a></code>
     <span class=p-name>$title</span>
-    <time class=dt-published
-    datetime=$commit["timestamp"].isoformat()>$commit["timestamp"].diff_for_humans()</time>
-    $if description:
-        <p class=p-content>$description</p>
+    <small><time class=dt-published
+      datetime=$ts.isoformat()>$ts.diff_for_humans()</time></small>
     </div>