Commit ff2d333 Sebastian Flick
committed
1 parent 73be9e0 commit ff2d333 Copy full SHA for ff2d333
File tree 1 file changed +22
-11
lines changed
src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]
1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change 163
163
use: addToObserver
164
164
>
165
165
{#await pageObject .iiif then iiif}
166
- < button
167
- onclick= {() => {
168
- localIiifChange (iiif);
169
- }}
170
- class = " ml-2 float-right"
171
- >
172
- < img
173
- src= " {iiif.id}/full/!250,120/0/default.jpg"
174
- alt= " thumbnail der Seite {pageObject.id}"
175
- / >
176
- < / button>
166
+ {#if iiif? .id }
167
+ < button
168
+ onclick= {() => {
169
+ localIiifChange (iiif);
170
+ }}
171
+ class = " ml-2 float-right"
172
+ >
173
+ < img
174
+ src= " {iiif.id}/full/!250,120/0/default.jpg"
175
+ alt= " thumbnail der Seite {pageObject.id}"
176
+ / >
177
+ < / button>
178
+ {: else }
179
+ < button
180
+ onclick= {() => {
181
+ localIiifChange (iiif);
182
+ }}
183
+ class = " btn variant-filled ml-2 float-right"
184
+ >
185
+ Seite wechseln
186
+ < / button>
187
+ {/ if }
177
188
{/ await }
178
189
{@html tpData .content }
179
190
< / div>
You can’t perform that action at this time.
0 commit comments