Skip to content

Commit

Permalink
fix: add missing founded date for organisations
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Weingärtner committed Aug 13, 2024
1 parent 0f66709 commit efcea45
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
23 changes: 15 additions & 8 deletions src/apps/KankaJournal/pages/organisation-overview.hbs
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{{#>../shared/overviewLayout}}
{{#*inline 'attributes'~}}
{{~>../shared/detailRow value=data.system.snapshot.type label='shared.labels.type' }}
{{~>../shared/detailRowArray references=data.system.snapshot.parents type='organisation' label='shared.labels.parent' }}
{{~>../shared/detailRow value=data.system.snapshot.location_id type='location' label='shared.labels.location' reference=true }}
{{#*inline 'attributes'~}}
{{~>../shared/detailRow value=data.system.snapshot.type label='shared.labels.type' }}
{{~>../shared/detailRowArray references=data.system.snapshot.parents type='organisation' label='shared.labels.parent' }}
{{~>../shared/detailRow value=data.system.snapshot.location_id type='location' label='shared.labels.location'
reference=true }}

{{~#each (kankaFilterBy (kankaFilterReferences data.system.snapshot.members) 'pin_id' 'regex:^(2|3)$') as | starred | ~}}
{{~>../shared/detailRow value=character_id type='character' rawLabel=role label='organisation.labels.member_name' reference=true isSecret=(kankaIsSecret this) }}
{{~/each~}}
{{~/inline}}
{{#with (lookup (kankaFilterBy (kankaFilterAccessible data.system.snapshot.entity_events) 'type_id' 5) 0) }}
{{~>../shared/detailRow value=date label='location.labels.founded' isSecret=(kankaIsSecret this) }}
{{/with}}

{{~#each (kankaFilterBy (kankaFilterReferences data.system.snapshot.members) 'pin_id' 'regex:^(2|3)$') as | starred |
~}}
{{~>../shared/detailRow value=character_id type='character' rawLabel=role label='organisation.labels.member_name'
reference=true isSecret=(kankaIsSecret this) }}
{{~/each~}}
{{~/inline}}
{{/../shared/overviewLayout}}
1 change: 1 addition & 0 deletions src/lang/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ KANKA:
member_name: Mitglied
member_role: Rolle
member_status: Mitgliedsstatus
founded: Gegründet
value:
membership_active: Aktiv
membership_inactive: Inaktiv
Expand Down
1 change: 1 addition & 0 deletions src/lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ KANKA:
member_name: Member
member_role: Role
member_status: Membership status
founded: Founded
value:
membership_active: Active
membership_inactive: Inactive
Expand Down

0 comments on commit efcea45

Please sign in to comment.