diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb index e14d880..1dc5567 100644 --- a/app/views/documents/_document.html.erb +++ b/app/views/documents/_document.html.erb @@ -1,6 +1,8 @@ +

<%= link_to h(document.title), document_path(document) %>

-

<%= format_time(document.updated_on) %>

+
<%= format_time(document.updated_on) %>
<%= textilizable(truncate_lines(document.description), :object => document) %>
+
diff --git a/public/themes/alternate/stylesheets/application.css b/public/themes/alternate/stylesheets/application.css index efa1129..9b809d6 100644 --- a/public/themes/alternate/stylesheets/application.css +++ b/public/themes/alternate/stylesheets/application.css @@ -68,3 +68,7 @@ option { border-bottom: 1px dotted #d7d7d7; } /* Misc */ .box { background-color: #fcfcfc; } + +/* document items - item-in-line */ +.document-item {} +.document-item * {display: inline; padding-left: 10px; }