talas-group/talas-wiki/templates/history.html
senke 66471934af Initial commit: Talas Group project management & documentation
Knowledge base of ~80+ markdown files across 14 domains (00-13),
Logseq graph, hardware design files (KiCAD), infrastructure configs,
and talas-wiki static site.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 20:10:41 +02:00

38 lines
1.1 KiB
HTML

{{define "title"}}Historique: {{.Page.Title}} — Talas Wiki{{end}}
{{define "content"}}
<div class="breadcrumb">
<a href="/">/</a>
{{range breadcrumbs .Page.URLPath}}
/ <a href="/wiki/{{encodeURL .path}}">{{.name}}</a>
{{end}}
/ <span class="edit-marker">historique</span>
</div>
<div class="page-header">
<h1>Historique: {{.Page.Title}}</h1>
<a href="/wiki/{{encodeURL .Page.URLPath}}" class="btn-edit">retour</a>
</div>
{{if .Diff}}
<div class="diff-view">
<h2>Diff: {{shortHash .Diff.Hash}}</h2>
<p class="diff-message">{{.Diff.Message}}</p>
<pre class="diff-content">{{colorDiff .Diff.Diff}}</pre>
</div>
{{end}}
{{if .Commits}}
<div class="history-list">
{{range .Commits}}
<div class="history-entry">
<a href="/history/{{encodeURL $.Page.URLPath}}?diff={{.Hash}}" class="history-hash">{{shortHash .Hash}}</a>
<span class="history-msg">{{.Message}}</span>
<span class="history-meta">{{.Author}} &middot; {{formatDate .Date}}</span>
</div>
{{end}}
</div>
{{else}}
<p class="subtitle">Pas d'historique git disponible pour ce fichier.</p>
{{end}}
{{end}}