forked from rDrama/rDrama
fix empty ghostbox
parent
eb0e863ea0
commit
3830e6f837
|
@ -237,7 +237,7 @@
|
|||
{% set text = "@" ~ u.username ~ " hasn't made any posts yet!" %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% set text = "No posts found!" if request.path.startswith('/search') else "" %}
|
||||
{% set text = "No posts found!" if request.path.startswith('/search') else "There are no posts here (yet)." %}
|
||||
{% endif %}
|
||||
{{macros.ghost_box(text, '', 1)}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue