Skip to content

Commit

Permalink
Implement IIIF
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Jul 25, 2024
1 parent 69d335b commit d46cdfb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/splitter/UBHDIIIFMaskSplitter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
import { P } from "flowbite-svelte";
import NotImplemented from "../utils/NotImplemented.svelte";
export let data;
export let field;
export let table;
const options = JSON.parse(field.options);
Expand All @@ -17,12 +16,14 @@
},
};
const dtable = table in data ? data[table] : data;
</script>

<P>
<span class="text-sm easydb-label">{l10n["iiif-url"][$appLanguageStore]}</span>
</P>
<P>
{options.url_prefix}/{data._system_object_id}%3A
<NotImplemented message="How to get the asset ID here?" />
<!-- NB: The "asset" in the line below is a hard-coding to HeidICON that also happens upstream! -->
{options.url_prefix}/{data._system_object_id}%3A{dtable.asset[0]._id}
</P>

0 comments on commit d46cdfb

Please sign in to comment.