diff --git a/app/views/admin/dashboard/show.html.erb b/app/views/admin/dashboard/show.html.erb
index c7a99ca71..c51b9b9d0 100644
--- a/app/views/admin/dashboard/show.html.erb
+++ b/app/views/admin/dashboard/show.html.erb
@@ -11,45 +11,53 @@
Latest Posts
-
- <% @posts.each_with_index do |post, i| -%>
- -
- <%= link_to("
%s
" % [h(truncate(post.title, :length => 50))], admin_post_path(post)) %>
- <%=h post.published_at.strftime("%b %e") %>
- <%= link_to(h(post.approved_comments.size), post_path(post)) %>
-
- <% end -%>
-
+<% if @posts.any? -%>
+
+ <% @posts.each_with_index do |post, i| -%>
+ -
+ <%= link_to("
%s
" % [h(truncate(post.title, :length => 50))], admin_post_path(post)) %>
+ <%=h post.published_at.strftime("%b %e") %>
+ <%= link_to(h(post.approved_comments.size), post_path(post)) %>
+
+ <% end -%>
+
+<% else -%>
+
You haven't written anything yet!
+<% end -%>
+ <% @comment_activity.each_with_index do |activity, i| -%> +-
+ <%= link_to("
+
+ <%= link_to(image_tag('silk/pencil.png', :alt => 'edit'), admin_comment_path(comment)) %>
+ <% form_for(:comment, comment, :url => admin_comment_path(comment), :html => {:class => 'delete-item', :id => "delete-comment-#{comment.id}", :method => :delete}) do |form| -%>
+ <%= image_submit_tag("silk/delete.png") %>
+ <% end -%>
+
+ <%= comment.body_html %>
- <%= comment.body_html %>
-
%s
" % [h(truncate(activity.post.title, :length => 50))], post_path(activity.post)) %> + <%=h activity.most_recent_comment.created_at.strftime("%b %e") %> + <%=h activity.post.approved_comments.size %> ++ <% activity.comments.each_with_index do |comment, index| -%> + <% content_tag :li, :class => activity.comments.size == index + 1 ? 'last' : nil do -%> + <%= link_to(h(comment.author), admin_comment_path(comment), {:id => "comment-link-#{comment.id}", :class => 'comment-link'}) -%> <% end -%> + <% end -%> +
+ <% activity.comments.each do |comment| -%> +You haven't received any comments yet!
+<% end -%>