app/react/Templates/components/specs/__snapshots__/TemplateCreator.spec.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`TemplateCreator Property Options should include document specific options 1`] = `
<div
className="metadata"
>
<div
className="panel panel-default"
>
<div
className="panel-heading"
>
<Connect(Translate)>
Metadata creator
</Connect(Translate)>
</div>
<div
className="panel-body"
>
<div
className="row"
>
<main
className="col-xs-12 col-sm-9"
>
<Connect(Component)
backUrl="/settings/templates"
relationType={false}
saveTemplate={[Function]}
/>
</main>
<aside
className="col-xs-12 col-sm-3"
>
<div
className="metadataTemplate-constructor"
>
<div>
<i>
<Connect(Translate)>
Properties
</Connect(Translate)>
</i>
</div>
<ul
className="list-group property-options-list"
>
<Connect(DragSource(PropertyOption))
label="Text"
type="text"
/>
<Connect(DragSource(PropertyOption))
label="Numeric"
type="numeric"
/>
<Connect(DragSource(PropertyOption))
label="Select"
type="select"
/>
<Connect(DragSource(PropertyOption))
disabled={true}
label="Relationship"
type="relationship"
/>
<Connect(DragSource(PropertyOption))
label="Date"
type="date"
/>
<Connect(DragSource(PropertyOption))
label="Rich Text"
type="markdown"
/>
<Connect(DragSource(PropertyOption))
label="Link"
type="link"
/>
<Connect(DragSource(PropertyOption))
label="Image"
type="image"
/>
<Connect(DragSource(PropertyOption))
label="Preview"
type="preview"
/>
<Connect(DragSource(PropertyOption))
label="Media"
type="media"
/>
<Connect(DragSource(PropertyOption))
label="Geolocation"
type="geolocation"
/>
<Connect(DragSource(PropertyOption))
label="Generated ID"
type="generatedid"
/>
</ul>
<div
className="alert alert-warning"
>
<Connect(Translate)
translationKey="No relationship types warning"
>
Relationship fields can not be added until you have at least one relationship type to select.
</Connect(Translate)>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
`;
exports[`TemplateCreator Property Options should include most common options by default (entity) 1`] = `
<div
className="metadata"
>
<div
className="panel panel-default"
>
<div
className="panel-heading"
>
<Connect(Translate)>
Metadata creator
</Connect(Translate)>
</div>
<div
className="panel-body"
>
<div
className="row"
>
<main
className="col-xs-12 col-sm-9"
>
<Connect(Component)
backUrl="/settings/templates"
relationType={false}
saveTemplate={[Function]}
/>
</main>
<aside
className="col-xs-12 col-sm-3"
>
<div
className="metadataTemplate-constructor"
>
<div>
<i>
<Connect(Translate)>
Properties
</Connect(Translate)>
</i>
</div>
<ul
className="list-group property-options-list"
>
<Connect(DragSource(PropertyOption))
label="Text"
type="text"
/>
<Connect(DragSource(PropertyOption))
label="Numeric"
type="numeric"
/>
<Connect(DragSource(PropertyOption))
label="Select"
type="select"
/>
<Connect(DragSource(PropertyOption))
disabled={true}
label="Relationship"
type="relationship"
/>
<Connect(DragSource(PropertyOption))
label="Date"
type="date"
/>
<Connect(DragSource(PropertyOption))
label="Rich Text"
type="markdown"
/>
<Connect(DragSource(PropertyOption))
label="Link"
type="link"
/>
<Connect(DragSource(PropertyOption))
label="Image"
type="image"
/>
<Connect(DragSource(PropertyOption))
label="Preview"
type="preview"
/>
<Connect(DragSource(PropertyOption))
label="Media"
type="media"
/>
<Connect(DragSource(PropertyOption))
label="Geolocation"
type="geolocation"
/>
<Connect(DragSource(PropertyOption))
label="Generated ID"
type="generatedid"
/>
</ul>
<div
className="alert alert-warning"
>
<Connect(Translate)
translationKey="No relationship types warning"
>
Relationship fields can not be added until you have at least one relationship type to select.
</Connect(Translate)>
</div>
</div>
</aside>
</div>
</div>
</div>
</div>
`;
exports[`TemplateCreator Property Options should remove all options for relationship 1`] = `
<div
className="metadata"
>
<div
className="panel panel-default"
>
<div
className="panel-heading"
>
<Connect(Translate)>
Metadata creator
</Connect(Translate)>
</div>
<div
className="panel-body"
>
<div
className="row"
>
<main
className="col-xs-12 col-sm-9"
>
<Connect(Component)
backUrl="/settings/connections"
relationType={true}
saveTemplate={[Function]}
/>
</main>
</div>
</div>
</div>
</div>
`;