[ticket/16860] Fix breadcrumbs title tags

A bit of order for the sake of readability

PHPBB3-16860
This commit is contained in:
3D-I 2021-08-30 00:41:00 +02:00
parent 01a531ebe7
commit c34f09c02b

View file

@ -2,7 +2,6 @@
<div class="inner"> <div class="inner">
<ul id="nav-main" class="nav-main linklist" role="menubar"> <ul id="nav-main" class="nav-main linklist" role="menubar">
<li id="quick-links" class="quick-links dropdown-container responsive-menu{% if not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH %} hidden{% endif %}"> <li id="quick-links" class="quick-links dropdown-container responsive-menu{% if not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH %} hidden{% endif %}">
<a href="#" class="dropdown-trigger"> <a href="#" class="dropdown-trigger">
{{ Icon('iconify', 'fa:bars', lang('QUICK_LINKS'), false) }} {{ Icon('iconify', 'fa:bars', lang('QUICK_LINKS'), false) }}
@ -105,9 +104,13 @@
{% endif %} {% endif %}
{% if S_REGISTERED_USER %} {% if S_REGISTERED_USER %}
{% EVENT navbar_header_user_profile_prepend %} {% EVENT navbar_header_user_profile_prepend %}
<li id="username_logged_in" class="rightside {% if CURRENT_USER_AVATAR_HTML %} no-bulletin{% endif %}"> <li id="username_logged_in" class="rightside {% if CURRENT_USER_AVATAR_HTML %} no-bulletin{% endif %}">
{% EVENT navbar_header_username_prepend %} {% EVENT navbar_header_username_prepend %}
<div class="header-profile dropdown-container"> <div class="header-profile dropdown-container">
<a href="{{ U_PROFILE }}" class="header-avatar dropdown-trigger"> <a href="{{ U_PROFILE }}" class="header-avatar dropdown-trigger">
{% if CURRENT_USER_AVATAR_HTML %}{{ CURRENT_USER_AVATAR_HTML }} {% endif %} {% if CURRENT_USER_AVATAR_HTML %}{{ CURRENT_USER_AVATAR_HTML }} {% endif %}
@ -151,8 +154,10 @@
</ul> </ul>
</div> </div>
</div> </div>
{% EVENT navbar_header_username_append %} {% EVENT navbar_header_username_append %}
</li>
</li>
{% if S_DISPLAY_PM %} {% if S_DISPLAY_PM %}
<li class="rightside"> <li class="rightside">
<a href="{{ U_PRIVATEMSGS }}" role="menuitem"> <a href="{{ U_PRIVATEMSGS }}" role="menuitem">
@ -160,15 +165,20 @@
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if S_NOTIFICATIONS_DISPLAY %} {% if S_NOTIFICATIONS_DISPLAY %}
<li class="dropdown-container dropdown-{S_CONTENT_FLOW_END} rightside"> <li class="dropdown-container dropdown-{S_CONTENT_FLOW_END} rightside">
<a href="{{ U_VIEW_ALL_NOTIFICATIONS }}" id="notification-button" class="dropdown-trigger"> <a href="{{ U_VIEW_ALL_NOTIFICATIONS }}" id="notification-button" class="dropdown-trigger">
{{ Icon('iconify', 'fa:bell', lang('NOTIFICATIONS'), false) }}<strong class="badge{% if not NOTIFICATIONS_COUNT %} hidden{% endif %}">{NOTIFICATIONS_COUNT}</strong> {{ Icon('iconify', 'fa:bell', lang('NOTIFICATIONS'), false) }}<strong class="badge{% if not NOTIFICATIONS_COUNT %} hidden{% endif %}">{NOTIFICATIONS_COUNT}</strong>
</a> </a>
{% include 'notification_dropdown.html' %} {% include 'notification_dropdown.html' %}
</li> </li>
{% endif %} {% endif %}
{% EVENT navbar_header_user_profile_append %} {% EVENT navbar_header_user_profile_append %}
{% elseif not S_IS_BOT %} {% elseif not S_IS_BOT %}
<li class="rightside" > <li class="rightside" >
<a href="{{ U_LOGIN_LOGOUT }}" title="{{ lang('LOGIN_LOGOUT') }}" accesskey="x" role="menuitem"> <a href="{{ U_LOGIN_LOGOUT }}" title="{{ lang('LOGIN_LOGOUT') }}" accesskey="x" role="menuitem">
@ -182,7 +192,9 @@
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% EVENT navbar_header_logged_out_content %} {% EVENT navbar_header_logged_out_content %}
{% endif %} {% endif %}
</ul> </ul>
@ -193,7 +205,6 @@
{% EVENT overall_header_breadcrumbs_before %} {% EVENT overall_header_breadcrumbs_before %}
<li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList"> <li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList">
{% if U_SITE_HOME %} {% if U_SITE_HOME %}
<span class="crumb" {{ MICRODATA }}> <span class="crumb" {{ MICRODATA }}>
{% apply spaceless %} {% apply spaceless %}
@ -207,6 +218,7 @@
{% endif %} {% endif %}
{% EVENT overall_header_breadcrumb_prepend %} {% EVENT overall_header_breadcrumb_prepend %}
<span class="crumb" {{ MICRODATA }}> <span class="crumb" {{ MICRODATA }}>
{% apply spaceless %} {% apply spaceless %}
<a itemprop="item" href="{{ U_INDEX }}" accesskey="h" data-navbar-reference="index"> <a itemprop="item" href="{{ U_INDEX }}" accesskey="h" data-navbar-reference="index">
@ -232,7 +244,9 @@
</span> </span>
{% EVENT overall_header_navlink_append %} {% EVENT overall_header_navlink_append %}
{% endfor %} {% endfor %}
{% EVENT overall_header_breadcrumb_append %} {% EVENT overall_header_breadcrumb_append %}
</li> </li>
{% EVENT overall_header_breadcrumbs_after %} {% EVENT overall_header_breadcrumbs_after %}