24 lines
970 B
HTML
24 lines
970 B
HTML
<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>
|
|
<f:asset.script identifier="bookmarkPages" src="EXT:bookmarks_likes_ratings/Resources/Public/Scripts/JavaScript/bookmarks_likes_ratings.js" />
|