forked from jappel/leistungsbilanz-ts
Describe snapshot source revisions
This commit is contained in:
parent
602ae6da0b
commit
dcb303284c
10 changed files with 246 additions and 27 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue