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
|
|
|
|
|
|
|
{% block title %}{{ 'Remove favourite from ' | trans }}{{ note.getActorNickname() }}{{ '\'s note.' | trans }}{% endblock %}
|
|
|
|
|
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 %}
|