2021-10-21 20:14:22 +01:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2022-02-24 19:04:14 +00:00
|
|
|
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
|
2021-10-21 20:14:22 +01:00
|
|
|
|
2022-03-01 11:27:19 +00:00
|
|
|
{% set nickname = note.getActorNickname() %}
|
|
|
|
{% block title %}{% trans %}Remove favourite from %nickname%'s note{% endtrans %}{% endblock %}
|
2021-10-21 20:14:22 +01:00
|
|
|
|
2021-10-24 15:12:18 +01:00
|
|
|
{% block stylesheets %}
|
2021-10-21 20:14:22 +01:00
|
|
|
{{ parent() }}
|
2022-02-24 19:04:14 +00:00
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
|
2021-10-24 15:12:18 +01:00
|
|
|
{% endblock stylesheets %}
|
2021-10-21 20:14:22 +01:00
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
{{ parent() }}
|
|
|
|
<div class="page">
|
|
|
|
<div class="main">
|
2022-02-24 19:04:14 +00:00
|
|
|
{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
|
|
|
|
{{ NoteFactory.constructor(args) }}
|
|
|
|
<hr>
|
2021-10-21 20:14:22 +01:00
|
|
|
{{ form(remove_favourite) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock body %}
|