From: Raphaƫl Gertz Date: Fri, 10 Nov 2023 12:16:33 +0000 (+0100) Subject: Remove unused templates X-Git-Tag: 0.1~16 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/d0160c8ba61411363705ba7dd8e2fe7f9e5f116a Remove unused templates --- diff --git a/Resources/views/article/read.html.twig b/Resources/views/article/read.html.twig deleted file mode 100644 index 329ae40..0000000 --- a/Resources/views/article/read.html.twig +++ /dev/null @@ -1,37 +0,0 @@ -{% extends 'RapsysBlogBundle::body.html.twig' %} -{% block blog_title %}

{% trans %}Dev log{% endtrans %}

{% endblock %} -{% block blog_subtitle %}

{% trans %}Articles list{% endtrans %}

{% endblock %} -{% block content %} - {% if article is defined and article %} -
-
-

{{article.title}}

-

- {% trans with {'%date%': article.created|localizeddate('full', 'short')} %}Published the %date%{% endtrans %}{% if article.created != article.updated %}{% trans with {'%date%': article.updated|localizeddate('short', 'short')} %}, edited the %date%{% endtrans %}{% endif %} - {% if article.keywords %} - - {% transchoice article.keywords|length %}{1} Keyword:|]1,Inf[ Keywords:{% endtranschoice %} - {% for keyword_id, keyword in article.keywords %} - {{ keyword }} - {% endfor %} - - {% endif %} -

-
-

{{article.body|bb2html}}

-
- {% endif %} -{% endblock %} -{% block alternate %} - - {% for locale, slug in article.slugs %} - - {% endfor %} -{% endblock %} -{% block footer_nav %} - -{% endblock %} diff --git a/Resources/views/keyword/read.html.twig b/Resources/views/keyword/read.html.twig deleted file mode 100644 index 24d3601..0000000 --- a/Resources/views/keyword/read.html.twig +++ /dev/null @@ -1,39 +0,0 @@ -{% extends 'RapsysBlogBundle::body.html.twig' %} -{% block blog_title %}

{% trans %}Dev log{% endtrans %}

{% endblock %} -{% block blog_subtitle %}

{% trans %}Keywords list{% endtrans %}

{% endblock %} -{% block content %} - {% if keyword is defined and keyword %} -
-
-

{{keyword.title}}

-

- {% trans with {'%date%': keyword.created|localizeddate('full', 'short')} %}Published the %date%{% endtrans %}{% if keyword.created != keyword.updated %}{% trans with {'%date%': keyword.updated|localizeddate('short', 'short')} %}, edited the %date%{% endtrans %}{% endif %} -

-
-

{{ keyword.description }}

- {% if keyword.articles %} -

{% transchoice keyword.articles|length %}{1} Article:|]1,Inf[ Articles:{% endtranschoice %}

- - {% endif %} -
- {% endif %} -{% endblock %} -{% block alternate %} - - {% for locale, slug in keyword.slugs %} - - {% endfor %} -{% endblock %} -{% block footer_nav %} - -{% endblock %}