File tree Expand file tree Collapse file tree 3 files changed +21
-8
lines changed
routes/[musical]/(heroimage) Expand file tree Collapse file tree 3 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ type SingleShow = {
2020 isPublic : boolean ;
2121 timestamp : string ;
2222 ticketUrl : string ;
23+ customName ?: string ;
2324 companies : string [ ] ;
2425 cast : {
2526 ensemble : string [ ] ;
Original file line number Diff line number Diff line change 9595 })} Uhr
9696 </span >
9797
98- {#if show ?.isPublic === false }
99- <br />
100- Nicht öffentliche Veranstaltung
101- {/if }
98+ {#if show .isPublic === false || show .customName }
99+ <br />
100+ <span class =" c-fg-3" >
101+ {#if show .isPublic === false }
102+ Nicht öffentliche Veranstaltung{#if show .customName }: {show .customName }{/if }
103+ {:else }
104+ {show .customName }
105+ {/if }
106+ </span >
107+ {/if }
102108 </p >
103109
104110 {#if show .cast .roles .length > 0 }
Original file line number Diff line number Diff line change 9595 })} Uhr
9696 </span >
9797
98- {#if show ?.isPublic === false }
99- <br />
100- Nicht öffentliche Veranstaltung
101- {/if }
98+ {#if show .isPublic === false || show .customName }
99+ <br />
100+ <span class =" c-fg-3" >
101+ {#if show .isPublic === false }
102+ Nicht öffentliche Veranstaltung{#if show .customName }: {show .customName }{/if }
103+ {:else }
104+ {show .customName }
105+ {/if }
106+ </span >
107+ {/if }
102108 </p >
103109
104110 <h2 >Orchester</h2 >
You can’t perform that action at this time.
0 commit comments