From e8d0d81e4ab154530c771c25ae8a7156b856f899 Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Fri, 14 Sep 2012 15:39:24 +0200 Subject: [PATCH] Extended blog admin with Draft field and Preview link Signed-off-by: Gergely Polonkai (W00d5t0ck) --- .../FrontBundle/Resources/views/Admin/listBlog.html.twig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/listBlog.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/listBlog.html.twig index 3d63b57..d7e7806 100644 --- a/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/listBlog.html.twig +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Admin/listBlog.html.twig @@ -6,18 +6,22 @@ + + {% if posts %} {% for post in posts %} + + {% endfor %}
Title (click to edit) Author Created at
{% if post.draft %}D{% endif %} {{ post.title }} {{ post.user.name }} {{ post.createdAt|date('m/d/Y') }}Preview