Skip to content

Commit

Permalink
feat: add indicator to events view to see which event is staged (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnSch1510 authored Jun 16, 2024
1 parent 45db37c commit 914aeff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/src/app/components/events/events.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
pRipple
>
{{ event.date | date: 'fullDate' : undefined : locale() }}
@if (event.staged) {
- {{ translations.events_staged() }}
}
</a>
}
@if (events().length === 0) {
Expand Down
1 change: 1 addition & 0 deletions src/client/src/app/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"buildGroups": "Gruppen bilden",
"rebuildGroups": "Gruppen neu bilden",
"commit": "Event freigeben",
"staged": "vorbereitet",
"timeslot": {
"notFound": "Dieser Zeitslot existiert nicht.",
"preconfiguredGroups": "Vordefinierte Gruppen",
Expand Down
1 change: 1 addition & 0 deletions src/client/src/app/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"buildGroups": "Build groups",
"rebuildGroups": "Rebuild groups",
"commit": "commit event",
"staged": "staged",
"timeslot": {
"notFound": "This timeslot does not exist.",
"preconfiguredGroups": "Preconfigured groups",
Expand Down

0 comments on commit 914aeff

Please sign in to comment.