This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
SA3/hw5/Claudio_Maggioni/views/favourites.dust
2019-10-21 22:17:21 +02:00

28 lines
504 B
HTML

{! vim: set ft=html ts=2 sw=2 et tw=120: !}
<html>
<head>
<meta charset="utf-8">
{?bookmarked}
<title>Bookmarked</title>
{:else}
<title>Favourites</title>
{/bookmarked}
</head>
<body>
{?bookmarked}
<h1>Bookmarked</h1>
{:else}
<h1>Favourites</h1>
{/bookmarked}
{#favs}
<div>
{>"favourite_partial" name=name dataURL=dataURL _id=_id details="true" /}
</div>
{:else}
<strong>No favourites.</strong>
{/favs}
</body>
</html>