commit d40addaae71726e78912c56b7b2b14a4795fe7e4 from: Mark Jamsek via: Thomas Adam date: Wed Sep 04 19:31:59 2024 UTC gotwebd: show commit id prefix on briefs page tweak + ok op@, "seems good to me" (webpage review) stsp@ commit - 07aff805650ee756858f13aa1741a4bb8bbd8eae commit + d40addaae71726e78912c56b7b2b14a4795fe7e4 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 - 29af03ad3b08bbc3e6b83c6f00f7cc1d79d18df1 blob + 18398f57814323d35c9a048b3b7da1d86635bd23 --- 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 }} {{" "}}