X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/6cb4d37df4bd723af08140de8c2d6da88475e3f8..6fdb7d38ea6fae48333958e6995d750928338bf7:/Resources/views/keyword/index.html.twig diff --git a/Resources/views/keyword/index.html.twig b/Resources/views/keyword/index.html.twig new file mode 100644 index 0000000..9860b9c --- /dev/null +++ b/Resources/views/keyword/index.html.twig @@ -0,0 +1,28 @@ +{% extends 'RapsysBlogBundle::body.html.twig' %} +{% block blog_title %}

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

{% endblock %} +{% block content %} +
+

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

+ {% for keyword in keywords %} +
+
+

{{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 %} +

+
+ {% if keyword.articles %} +

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

+ + {% endif %} + +
+ {% endfor %} +
+{% endblock %}