forked from wallabag/wallabag
Renamed variable for page title
This commit is contained in:
@ -1,11 +1,11 @@
|
|||||||
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% set params = {} %}
|
{% set currentTag = '' %}
|
||||||
{% if tag is defined %}
|
{% if tag is defined %}
|
||||||
{% set params = {'label': tag} %}
|
{% set currentTag = tag %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'params': params} %}
|
{% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'currentTag': currentTag} %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
{% elseif currentRoute == 'all' %}
|
{% elseif currentRoute == 'all' %}
|
||||||
{{ 'entry.page_titles.filtered'|trans }}
|
{{ 'entry.page_titles.filtered'|trans }}
|
||||||
{% elseif currentRoute == 'tag_entries' %}
|
{% elseif currentRoute == 'tag_entries' %}
|
||||||
{{ 'entry.page_titles.filtered_tags'|trans }} {{ params['label'] }}
|
{{ 'entry.page_titles.filtered_tags'|trans }} {{ currentTag }}
|
||||||
{% elseif currentRoute == 'untagged' %}
|
{% elseif currentRoute == 'untagged' %}
|
||||||
{{ 'entry.page_titles.untagged'|trans }}
|
{{ 'entry.page_titles.untagged'|trans }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% set params = {} %}
|
{% set currentTag = '' %}
|
||||||
{% if tag is defined %}
|
{% if tag is defined %}
|
||||||
{% set params = {'label': tag} %}
|
{% set currentTag = tag %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'params': params} %}
|
{% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'currentTag': currentTag} %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user