forked from enviPath/enviPy
[Feature] Add legacy api endpoint to mimic ReferringScenarios (#362)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#362
This commit is contained in:
@ -18,8 +18,25 @@
|
||||
<!-- Schema form -->
|
||||
<template x-if="schema && !loading">
|
||||
<div class="space-y-4">
|
||||
<template x-if="attach_object">
|
||||
<div>
|
||||
<h4>
|
||||
<span
|
||||
class="text-lg font-semibold"
|
||||
x-text="schema['x-title'] + ' attached to'"
|
||||
></span>
|
||||
<a
|
||||
class="text-lg font-semibold underline text-blue-600 hover:text-blue-800"
|
||||
:href="attach_object.url"
|
||||
x-text="attach_object.name"
|
||||
target="_blank"
|
||||
></a>
|
||||
</h4>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- Title from schema -->
|
||||
<template x-if="schema['x-title'] || schema.title">
|
||||
<template x-if="(schema['x-title'] || schema.title) && !attach_object">
|
||||
<h4
|
||||
class="text-lg font-semibold"
|
||||
x-text="data.name || schema['x-title'] || schema.title"
|
||||
|
||||
Reference in New Issue
Block a user