forked from GNUsocial/gnu-social
[TWIG][Templates] Clearer visual feedback that a note is a reply
This commit is contained in:
parent
4657a1d6a5
commit
b0fea51251
@ -86,8 +86,10 @@
|
||||
border-radius: var(--smaller);
|
||||
}
|
||||
.h-entry .replies {
|
||||
padding: var(--smaller);
|
||||
margin-left: var(--small);
|
||||
margin-bottom: var(--small);
|
||||
padding: var(--smaller) var(--smaller) 0 0;
|
||||
padding-left: var(--small);
|
||||
border-left: 2px solid var(--border);
|
||||
}
|
||||
.note-info,
|
||||
embed header {
|
||||
|
@ -30,7 +30,8 @@
|
||||
|
||||
{% block note_replies %}
|
||||
{% if replies is defined and replies is not empty %}
|
||||
<div class="u-in-reply-to replies" tabindex="0" title="{{ 'Begin replies to ' | trans }} {{ nickname }}'s note!">
|
||||
<div class="u-in-reply-to replies" tabindex="0" title="{{ 'Begin replies to ' | trans }}{{ nickname }}{{ '\'s note!' | trans }}">
|
||||
<strong>{{ 'Replies to ' | trans }}{{ nickname }}</strong>
|
||||
{% for conversation in replies %}
|
||||
{{ _self.macro_note(conversation['note'], conversation['replies']) }}
|
||||
<hr tabindex="0" title="{{ 'End of reply' | trans }}">
|
||||
@ -110,14 +111,14 @@
|
||||
{{ block('note_links') }}
|
||||
</section>
|
||||
|
||||
{{ block('note_replies') }}
|
||||
|
||||
{% for block in handle_event('AppendCardNote', {'note': note, 'actor': note.getActor() }) %}
|
||||
<aside title="{{ 'Note\'s complementary information' | trans }}" class="note-complementary">
|
||||
{{ block | raw }}
|
||||
</aside>
|
||||
{% endfor %}
|
||||
|
||||
{{ block('note_replies') }}
|
||||
|
||||
{# {% if note_language is defined and note_language is not empty %}#}
|
||||
{# <div title="{{ 'Note\'s language' | trans }}" class="h-entry-language">{{ note_language }}</div>#}
|
||||
{# {% endif %}#}
|
||||
|
Loading…
Reference in New Issue
Block a user