diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-09 19:31:22 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-09 19:31:22 +1200 |
commit | a5fe9225fac33f15e972599132c7f569cc5cf397 (patch) | |
tree | f58e7405a03546a37e26f2f1c2694ee12e93fc7d /app/views/admin/blog/posts/_post.html.erb | |
parent | 30df46503cf3176a37ad08ff50da7fa25b43e662 (diff) | |
download | refinerycms-blog-a5fe9225fac33f15e972599132c7f569cc5cf397.tar.gz refinerycms-blog-a5fe9225fac33f15e972599132c7f569cc5cf397.tar.bz2 refinerycms-blog-a5fe9225fac33f15e972599132c7f569cc5cf397.zip |
Namespaced blog posts under blog/posts to allow for blog/comments and blog/categories
Diffstat (limited to 'app/views/admin/blog/posts/_post.html.erb')
-rw-r--r-- | app/views/admin/blog/posts/_post.html.erb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/admin/blog/posts/_post.html.erb b/app/views/admin/blog/posts/_post.html.erb new file mode 100644 index 0000000..3e15543 --- /dev/null +++ b/app/views/admin/blog/posts/_post.html.erb @@ -0,0 +1,16 @@ +<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(post) -%>"> + <span class='title'> + <%=h post.title %> + <span class="preview"> </span> + </span> + <span class='actions'> + <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(post), + :title => t('.view_live'), + :target => "_blank" %> + <%= link_to refinery_icon_tag("application_edit.png"), edit_admin_blog_post_path(post), + :title => t('.edit') %> + <%= link_to refinery_icon_tag("delete.png"), admin_blog_post_path(post), + :class => "cancel confirm-delete", + :title => t('.delete') %> + </span> +</li> |