forked from GNUsocial/gnu-social
[EVENT][AddFeedActions] Add bool param which denotes whether the feed is empty. [PLUGIN][NoteTypeFeedFilter] Don't show filters if the feed is empty
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<h1>{{ page_title | trans }}</h1>
|
||||
{% endif %}
|
||||
<nav class="feed-actions">
|
||||
{% for block in handle_event('AddFeedActions', app.request) %}
|
||||
{% for block in handle_event('AddFeedActions', app.request, notes is defined and notes is not empty) %}
|
||||
{{ block | raw }}
|
||||
{% endfor %}
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user