From b73241ceb175b437c114dae686c9cffb69396e41 Mon Sep 17 00:00:00 2001 From: Adam Strzelecki Date: Thu, 3 Dec 2015 01:15:40 +0100 Subject: UI: Display last-commit header without 2nd column This uses a CSS trick making first th to be relative block with width equal to first two columns, effectively working around inability to use colspan="2" on first row that was breaking "fixed-layout" for tables. Also use grey header for last-commit SHA1 tag. --- templates/repo/view_list.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/repo/view_list.tmpl') diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 9b6c0aaa..4acfa2b6 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -9,10 +9,10 @@ {{.LastCommit.Author.Name}} {{end}} + {{ShortSha .LastCommit.ID.String}} + {{RenderCommitMessage .LastCommit.Summary .RepoLink}} - {{ShortSha .LastCommit.ID.String}} - {{RenderCommitMessage .LastCommit.Summary .RepoLink}} {{TimeSince .LastCommit.Author.When $.Lang}} -- cgit v1.2.3