flashwave
383e2ed0e0
This one took multiple days and it pretty invasive into the core of Misuzu so issue might (will) arise, there's also some features that have gone temporarily missing in the mean time and some inefficiencies introduced that will be fixed again at a later time. The old class isn't gone entirely because I still have to figure out what I'm gonna do about validation, but for the most part this knocks out one of the "layers of backwards compatibility", as I've been referring to it, and is moving us closer to a future where Flashii actually gets real updates. If you run into anything that's broken and you're inhibited from reporting it through the forum, do it through chat or mail me at flashii-issues@flash.moe.
38 lines
1.3 KiB
Twig
38 lines
1.3 KiB
Twig
{% extends 'forum/master.twig' %}
|
|
{% from 'macros.twig' import container_title %}
|
|
{% from 'forum/macros.twig' import forum_category_listing %}
|
|
|
|
{% set title = 'Forum Listing' %}
|
|
{% set canonical_url = '/forum/' %}
|
|
|
|
{% block content %}
|
|
{% if not forum_empty %}
|
|
{% for category in forum_categories %}
|
|
{% if category.forum_children > 0 %}
|
|
{{ forum_category_listing(
|
|
category.forum_subforums,
|
|
category.forum_name,
|
|
category.forum_colour,
|
|
category.forum_id == constant('MSZ_FORUM_ROOT')
|
|
? ''
|
|
: 'f' ~ category.forum_id,
|
|
category.forum_icon|default('')
|
|
) }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% if forum_show_mark_as_read %}
|
|
<div class="container forum__actions">
|
|
<a href="{{ url('forum-mark-global') }}" class="input__button forum__actions__button">Mark All Read</a>
|
|
</div>
|
|
{% endif %}
|
|
{% else %}
|
|
<div class="container">
|
|
{{ container_title('<i class="fas fa-comment-slash fa-fw"></i> Forums') }}
|
|
|
|
<div class="container__content">
|
|
<p>There are currently no visible forums.</p>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|