bookmark-pages/Resources/Private/Layouts/Default.html

24 lines
970 B
HTML
Raw Normal View History

2021-08-16 16:15:21 +02:00
<f:if condition="{settings.isComplementary as integer} === 1">
<f:then>
<div class="bookmark-pages">
<f:render section="main" />
</div>
</f:then>
<f:else>
<div class="bookmark-pages"
data-settings='{settings -> f:format.json()}'
data-bookmark='{bookmark -> f:format.json()}'
data-add-ajaxuri="{t:uri.ajaxAction(action: 'bookmark')}"
data-remove-ajaxuri="{t:uri.ajaxAction(action: 'delete')}"
data-update-ajaxuri="{t:uri.ajaxAction(action: 'listEntries')}"
id="bookmarks">
<f:render section="main" />
<template id="bookmark-template">
<f:render partial="ListItem" arguments="{bookmark: bookmark}" />
</template>
</div>
</f:else>
</f:if>
2021-08-17 19:45:38 +02:00
<f:asset.script identifier="bookmarkPages" src="EXT:bookmarks_likes_ratings/Resources/Public/Scripts/JavaScript/bookmarks_likes_ratings.js" />