gnu-social/plugins/Favourite/templates/favourite/remove_from_favourites.html.twig

23 lines
745 B
Twig

{% extends 'stdgrid.html.twig' %}
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
{% set nickname = note.getActorNickname() %}
{% block title %}{% trans %}Remove favourite from %nickname%'s note{% endtrans %}{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
{% endblock stylesheets %}
{% block body %}
{{ parent() }}
<div class="page">
<div class="main">
{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
{{ NoteFactory.constructor(args) }}
<hr>
{{ form(remove_favourite) }}
</div>
</div>
{% endblock body %}