X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/6cb4d37df4bd723af08140de8c2d6da88475e3f8..6fdb7d38ea6fae48333958e6995d750928338bf7:/Resources/views/keyword/read.html.twig diff --git a/Resources/views/keyword/read.html.twig b/Resources/views/keyword/read.html.twig new file mode 100644 index 0000000..24d3601 --- /dev/null +++ b/Resources/views/keyword/read.html.twig @@ -0,0 +1,39 @@ +{% 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 %}