diff --git a/app/views/content/list/_document_table.html.erb b/app/views/content/list/_document_table.html.erb index 03f8fa2d..c530c16f 100644 --- a/app/views/content/list/_document_table.html.erb +++ b/app/views/content/list/_document_table.html.erb @@ -3,16 +3,19 @@ - - - + + + + <% content_list.each do |document| %> - + +
TitleLengthLast editedTitleLengthLast edited
+ <%= Document.icon %> +
- <%= Document.icon %> <% if document.favorite? @@ -34,11 +37,17 @@ <% end %> - - <%= document.title %> - +
+ + <%= document.title %> + +
+
+ by <%= link_to document.user.display_name, document.user, class: "#{User.color}-text" %> +
+
-
+
<% if current_user.can_read?(document) %> <%= link_to polymorphic_path(document), class: 'blue white-text text-lighten-1 btn-flat' do %> <%= content_type.icon %>