Skip to content

Commit a5384d5

Browse files
committed
fix: add the correct display style, and date format
1 parent 6b96fba commit a5384d5

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

angular-hub/src/app/pages/communities/index.page.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ export const routeMeta: RouteMeta = {
5050
<app-community-card [community]="community"></app-community-card>
5151
</li>
5252
} @empty {
53-
<p class="col-span-2">
54-
No event matching the filter
53+
<p class="col-span-full">
54+
No event matching the filter:
5555
5656
@if (selectedCountry()) {
57-
{{ selectedCountry() }}
57+
<span>{{ selectedCountry() }}</span>
5858
}
5959
</p>
6060
}

angular-hub/src/app/pages/index.page.ts

+19-8
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,26 @@ export const routeMeta: RouteMeta = {
7575
<app-event-card [event]="event"></app-event-card>
7676
</li>
7777
} @empty {
78-
<p class="col-span-2">
79-
No event matching the filter
80-
@if (date()) {
81-
{{ date() | date: 'MM/DD/YYYY' }}
82-
}
78+
<p class="col-span-full">
79+
No event matching filter(s):
8380
84-
@if (selectedLanguage()) {
85-
{{ selectedLanguage() }}
86-
}
81+
<span>
82+
@if (date()) {
83+
{{ date() | date: 'dd MMM YYYY' }}
84+
}
85+
86+
@if (selectedLanguage()) {
87+
@if (isRemote()) {
88+
, {{ selectedLanguage() }}
89+
} @else {
90+
and {{ selectedLanguage() }}
91+
}
92+
}
93+
94+
@if (isRemote()) {
95+
and Remote Only
96+
}
97+
</span>
8798
</p>
8899
}
89100
</ul>

0 commit comments

Comments
 (0)