forked from GNUsocial/gnu-social
[COMPONENT] Favourite initial implementation
This commit is contained in:
@@ -10,8 +10,17 @@
|
||||
media="screen and (max-width: 750px)">
|
||||
{% endblock %}
|
||||
|
||||
{% block header %}
|
||||
{{ parent() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block left %}
|
||||
{{ parent() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="content" style="margin-top: 5em">
|
||||
{{ parent() }}
|
||||
<div class="content">
|
||||
<div class="main">
|
||||
{% include '/note/view.html.twig' with {'note': note} only %}
|
||||
{{ form(reply) }}
|
||||
|
@@ -19,6 +19,16 @@
|
||||
<use xlink:href="#icon-reply"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="{{ path('note_reply', {'reply_to': note.getId()}) }}">
|
||||
<svg class="icon icon-recycle">
|
||||
<use xlink:href="#icon-recycle"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="{{ path('note_reply', {'reply_to': note.getId()}) }}">
|
||||
<svg class="icon icon-heart">
|
||||
<use xlink:href="#icon-heart"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
<div class="replies">
|
||||
{% for reply in note.getReplies() %}
|
||||
|
Reference in New Issue
Block a user