mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed issue that page title were reformatted unintended.
This commit is contained in:
parent
fa5f5bce28
commit
0b31a3b095
2 changed files with 2 additions and 2 deletions
|
@ -15,4 +15,4 @@
|
||||||
<div {{ stimulus_controller('turbo/global_reload') }}></div>
|
<div {{ stimulus_controller('turbo/global_reload') }}></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="d-none" data-title="{% apply title %}{{ page_title }}{% endapply %}" {{ stimulus_controller('turbo/title') }}></div>
|
<div class="d-none" data-title="{% apply trim %}{{ current_page_title }}{% endapply %}" {{ stimulus_controller('turbo/title') }}></div>
|
|
@ -25,7 +25,7 @@
|
||||||
<link rel="mask-icon" href="{{ asset('icon/safari-pinned-tab.svg') }}" color="#5bbad5">
|
<link rel="mask-icon" href="{{ asset('icon/safari-pinned-tab.svg') }}" color="#5bbad5">
|
||||||
|
|
||||||
<title>{% apply trim %}{% block title %}{{ partdb_title}}{% endblock %}{% endapply %}</title>
|
<title>{% apply trim %}{% block title %}{{ partdb_title}}{% endblock %}{% endapply %}</title>
|
||||||
{% set page_title = block("title") %}
|
{% set current_page_title = block("title") %}
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
{# Include the main bootstrap theme based on user/global setting #}
|
{# Include the main bootstrap theme based on user/global setting #}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue