Browse Source

Rename forum

imwald
Nuša Pukšič 3 months ago
parent
commit
902f22c8af
  1. 2
      templates/forum/index.html.twig
  2. 8
      templates/layout.html.twig

2
templates/forum/index.html.twig

@ -1,7 +1,7 @@
{% extends 'layout.html.twig' %} {% extends 'layout.html.twig' %}
{% block body %} {% block body %}
<twig:Atoms:PageHeading heading="Forum" tagline="Sorted by topic"/> <twig:Atoms:PageHeading heading="Topics" tagline="Explore your interests"/>
{% for catKey, category in topics %} {% for catKey, category in topics %}
<section class="d-flex gap-3 center ln-section--newsstand"> <section class="d-flex gap-3 center ln-section--newsstand">

8
templates/layout.html.twig

@ -12,16 +12,16 @@
<a href="{{ path('newsstand') }}">Newsstand</a> <a href="{{ path('newsstand') }}">Newsstand</a>
</li> </li>
<li> <li>
<a href="{{ path('latest_articles') }}">Latest articles</a> <a href="{{ path('latest_articles') }}">Latest</a>
</li> </li>
<li> <li>
<a href="{{ path('forum') }}">Forum</a> <a href="{{ path('forum') }}">Topics</a>
</li> </li>
<li> <li>
<a href="{{ path('media-discovery') }}">Multimedia</a> <a href="{{ path('media-discovery') }}">Multimedia</a>
</li> </li>
<li> <li>
<a href="{{ path('reading_list_index') }}">Reading Lists</a> <a href="{{ path('reading_list_index') }}">Lists</a>
</li> </li>
{% if is_granted('ROLE_ADMIN') %} {% if is_granted('ROLE_ADMIN') %}
<li> <li>
@ -32,7 +32,7 @@
<a href="{{ path('app_search_index') }}">{{ 'heading.search'|trans }}</a> <a href="{{ path('app_search_index') }}">{{ 'heading.search'|trans }}</a>
</li> </li>
<li> <li>
<a href="{{ path('editor-create') }}">Write Article</a> <a href="{{ path('editor-create') }}">Write</a>
</li> </li>
<li> <li>
<a href="{{ path('home') }}">Overview</a> <a href="{{ path('home') }}">Overview</a>

Loading…
Cancel
Save