commit 8cc4eb801418181a7eddf2ad28d85b4e60661ae7 from: Mark Jamsek date: Sun Aug 18 14:30:03 2024 UTC gotwebd: show commit id prefix on briefs page tweak + ok op@, "seems good to me" (webpage review) stsp@ commit - 09d38fee11b9a19a2baef6995366389723745baa commit + 8cc4eb801418181a7eddf2ad28d85b4e60661ae7 blob - 0396f8f393157184209c75b979ff008558821c57 blob + d58e49303616a5d26897f57e773f0b3772da1554 --- gotwebd/files/htdocs/gotwebd/gotweb.css +++ gotwebd/files/htdocs/gotwebd/gotweb.css @@ -173,7 +173,7 @@ header.subtitle h2 { flex-grow: 0; flex-shrink: 0; } -.briefs_age, .briefs_author { +.briefs_age, .briefs_author, .briefs_id { display: inline-block; vertical-align: middle; } @@ -189,6 +189,13 @@ header.subtitle h2 { width: 8.5em; font-style: italic; } +.briefs_id { + padding-top: 5px; + padding-bottom: 5px; + width: 8.5em; + font-family: monospace; + font-size: 14px; +} .briefs_log { padding-left: 10px; padding-right: 10px; blob - 7e3a469f9bb4c106b37b9e2d3f14cb5ec223d67b blob + 6638943209aae86d6f98b5db64e75ad966980813 --- gotwebd/pages.tmpl +++ gotwebd/pages.tmpl @@ -394,6 +394,10 @@ nextsep(char *s, char **t)

{{ render datetime(tp, rc->committer_time, TM_DIFF) }} + + {{" "}} + + {{ printf "%.10s", rc->commit_id }} {{" "}}