@if (activeTab() === 'programs') {
@if (programs$ | async; as programs) {
Programs ({{ programs.length }})
| Day |
Time |
Title |
Host |
Genre |
Actions |
@for (program of programs; track program.id) {
| {{ program.day_label }} |
{{ program.time }} |
{{ program.title }} |
{{ program.host }} |
{{ program.genre }} |
|
} @empty {
| No programs yet. Click "Add Program" to create one. |
}
}
}
@if (activeTab() === 'events') {
@if (events$ | async; as events) {
Events ({{ events.length }})
| Date |
Title |
Location |
Active |
Actions |
@for (event of events; track event.id) {
| {{ event.date }} |
{{ event.title }} |
{{ event.location }} |
{{ event.active ? 'Yes' : 'No' }} |
|
} @empty {
| No events yet. Click "Add Event" to create one. |
}
}
}
@if (activeTab() === 'tiers') {
@if (tiers$ | async; as tiers) {
Donation Tiers ({{ tiers.length }})
| Order |
Name |
Amount |
Benefits |
Actions |
@for (tier of tiers; track tier.id) {
| {{ tier.display_order }} |
{{ tier.icon }} {{ tier.name }} |
${{ tier.amount.toFixed(2) }} |
{{ tier.benefits.join(', ') }} |
|
} @empty {
| No tiers yet. Click "Add Tier" to create one. |
}
}
}
@if (activeTab() === 'history') {
@if (historyEntries$ | async; as entries) {
History Timeline ({{ entries.length }})
| Year |
Title |
Order |
Active |
Actions |
@for (entry of entries; track entry.id) {
| {{ entry.year }} |
{{ entry.title }} |
{{ entry.display_order }} |
{{ entry.active ? 'Yes' : 'No' }} |
|
} @empty {
| No history entries yet. Click "Add Entry" to create one. |
}
}
}
@if (activeTab() === 'team') {
@if (teamMembers$ | async; as members) {
Team Members ({{ members.length }})
| Name |
Title |
Order |
Active |
Actions |
@for (member of members; track member.id) {
| {{ member.name }} |
{{ member.title }} |
{{ member.display_order }} |
{{ member.active ? 'Yes' : 'No' }} |
|
} @empty {
| No team members yet. Click "Add Member" to create one. |
}
}
}
@if (activeTab() === 'community') {
@if (communityHighlights$ | async; as highlights) {
Community Highlights ({{ highlights.length }})
| Icon |
Title |
Order |
Active |
Actions |
@for (highlight of highlights; track highlight.id) {
| {{ highlight.icon }} |
{{ highlight.title }} |
{{ highlight.display_order }} |
{{ highlight.active ? 'Yes' : 'No' }} |
|
} @empty {
| No highlights yet. Click "Add Highlight" to create one. |
}
}
}
@if (activeTab() === 'station') {
@if (stationConfig$ | async; as config) {
Station Configuration
Callsign
{{ config.callsign }}
Name
{{ config.name_primary }} {{ config.name_secondary }}
Tagline
{{ config.tagline }}
Frequency
{{ config.frequency }}
Founded
{{ config.founded_year }}
Nonprofit
{{ config.nonprofit_type }} — EIN {{ config.ein }}
Email
{{ config.email }}
Phone
{{ config.phone }}
Website
{{ config.website }}