diff --git a/resources/twig/categories/index.twig b/resources/twig/categories/index.twig new file mode 100644 index 0000000000..82e98ac0e1 --- /dev/null +++ b/resources/twig/categories/index.twig @@ -0,0 +1,40 @@ +{% extends "./layout/default.twig" %} +{% block content %} + {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }} +
+
+
+
+ Categories + + +
+
+ + +
+
+ + +
+ {% include 'list/categories.twig' %} +
+
+
+{% endblock %} +{% block styles %} + +{% endblock %} + +{% block scripts %} + + + + + +{% endblock %} \ No newline at end of file diff --git a/resources/twig/list/categories.twig b/resources/twig/list/categories.twig new file mode 100644 index 0000000000..605167cd17 --- /dev/null +++ b/resources/twig/list/categories.twig @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + {% for category in categories %} + + + + {% if category.lastActivity %} + + {% else %} + + {% endif %} + + {% endfor %} + +
 NameLast activity
 Without a category 
+
+ + +
+
+ {{ category.name }} + + {{category.lastActivity.format('jS F Y') }} + + Never +