Describe snapshot source revisions

This commit is contained in:
Julian Appel 2026-07-29 11:52:26 +02:00
parent 602ae6da0b
commit dcb303284c
10 changed files with 246 additions and 27 deletions

View file

@ -25,6 +25,7 @@ import {
getProjectRevisionDescription,
getProjectRevisionSourceLabel,
getProjectSnapshotKindLabel,
getProjectSnapshotRevisionDescription,
mergeProjectRevisionPages,
} from "../utils/project-version-history";
@ -343,7 +344,7 @@ export function ProjectVersionHistory({
<thead>
<tr>
<th>Name</th>
<th>Projektstand</th>
<th>Gesicherter Projektstand</th>
<th>Erstellt</th>
<th className="text-end">Aktion</th>
</tr>
@ -368,7 +369,16 @@ export function ProjectVersionHistory({
</div>
) : null}
</td>
<td>Revision {snapshot.sourceRevision}</td>
<td>
<strong>
{snapshot.sourceRevision === 0
? "Ausgangsstand"
: `Revision ${snapshot.sourceRevision}`}
</strong>
<div className="small text-secondary">
{getProjectSnapshotRevisionDescription(snapshot)}
</div>
</td>
<td>{formatDateTime(snapshot.createdAtIso)}</td>
<td className="text-end">
<button