From d0160c8ba61411363705ba7dd8e2fe7f9e5f116a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Fri, 10 Nov 2023 13:16:33 +0100 Subject: [PATCH 1/1] Remove unused templates --- Resources/views/article/read.html.twig | 37 ------------------------ Resources/views/keyword/read.html.twig | 39 -------------------------- 2 files changed, 76 deletions(-) delete mode 100644 Resources/views/article/read.html.twig delete mode 100644 Resources/views/keyword/read.html.twig 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 %} -- 2.41.1