all repos

mugit @ 3d818ec

🐮 git server that your cow will love
2 files changed, 10 insertions(+), 2 deletions(-)
ui: add tooltip for commit dates
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-02-05 00:05:45 +0200
Change ID: uytwwpsnvlmstwvvrqywsuopumpuuuml
Parent: fb655b4
M web/templates/index.html

@@ -24,7 +24,12 @@ {{ range .repos }}

<tr> <td class="nowrap"><a href="/{{ .Name }}">{{ .Name }}</a></td> <td class="fill">{{- if .Desc }}{{ .Desc }}{{- else }}<span class="muted">No description set</span>{{- end }} - <td class="nowrap">{{ humanizeTime .LastCommit }}</td> + <td class="nowrap"> + <span class="age"> + {{- humanizeTime .LastCommit -}} + <span class="tooltip" role="tooltip">{{- .LastCommit -}}</span> + </span> + </td> </tr> {{ end}} </tbody>
M web/templates/repo_index.html

@@ -20,7 +20,10 @@ <div class="box">

<div> <a href="/{{ $repo }}/commit/{{ .Hash }}" class="commit-hash">{{ .HashShort }}</a> &mdash; {{ .AuthorName }} - <span class="commit-date commit-info">{{ .Committed.Format "Mon, 02 Jan 2006" }}</span> + <span class="commit-date commit-info age"> + {{ .Committed.Format "Mon, 02 Jan 2006" }} + <span class="tooltip" role="tooltip">{{ .Committed }}</span> + </span> </div> <div>{{ commitSummary .Message }}</div> </div>