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

29 lines
500 B
Text
Raw Normal View History

2019-11-01 14:06:59 +00:00
{! vim: set 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>
2019-10-28 07:35:04 +00:00
{>"favourite_partial" name=name dataURL=dataURL _id=_id b=b details="true" /}
</div>
{:else}
<strong>No favourites.</strong>
{/favs}
</body>
</html>