2 files changed,
10 insertions(+),
2 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-02-05 00:05:45 +0200
Authored at:
2026-02-05 00:00:50 +0200
Change ID:
uytwwpsnvlmstwvvrqywsuopumpuuuml
Parent:
fb655b4
M
web/templates/index.html
路路路 24 24 <tr> 25 25 <td class="nowrap"><a href="/{{ .Name }}">{{ .Name }}</a></td> 26 26 <td class="fill">{{- if .Desc }}{{ .Desc }}{{- else }}<span class="muted">No description set</span>{{- end }} 27 - <td class="nowrap">{{ humanizeTime .LastCommit }}</td> 27 + <td class="nowrap"> 28 + <span class="age"> 29 + {{- humanizeTime .LastCommit -}} 30 + <span class="tooltip" role="tooltip">{{- .LastCommit -}}</span> 31 + </span> 32 + </td> 28 33 </tr> 29 34 {{ end}} 30 35 </tbody>
M
web/templates/repo_index.html
路路路 20 20 <div> 21 21 <a href="/{{ $repo }}/commit/{{ .Hash }}" class="commit-hash">{{ .HashShort }}</a> 22 22 — {{ .AuthorName }} 23 - <span class="commit-date commit-info">{{ .Committed.Format "Mon, 02 Jan 2006" }}</span> 23 + <span class="commit-date commit-info age"> 24 + {{ .Committed.Format "Mon, 02 Jan 2006" }} 25 + <span class="tooltip" role="tooltip">{{ .Committed }}</span> 26 + </span> 24 27 </div> 25 28 <div>{{ commitSummary .Message }}</div> 26 29 </div>