favourites.html
HTML document, ASCII text
1{% extends "default.html" %} 2{% block title %} 3{% trans %}Favourites{% endtrans %} 4{% endblock %} 5{% block breadcrumbs %} 6<li><a href="/favourites">{% trans %}Favourites{% endtrans %}</a></li> 7{% endblock %} 8{% block content %} 9<x-vbox> 10<x-frame style="--width: 896px;" class="flexible-space"> 11<x-vbox> 12{% if favourites|length > 0 %} 13{% for favourite in favourites %} 14<article class="card card-horizontal"> 15<section class="card-main flexible-space"> 16<h3><a href="{{ favourite.repo.route }}">{{ favourite.repo.owner.username }}/{{ favourite.repo.name }}</a></h3> 17</section> 18</article> 19{% endfor %} 20{% else %} 21<p>{% trans %}When you add favourite repositories, you can manage them from here.{% endtrans %}</p> 22{% endif %} 23</x-vbox> 24</x-frame> 25</x-vbox> 26{% endblock %} 27