Project

General

Profile

Patch #17924 » structured-document-list.patch

Yonghwan SO, 2014-09-22 05:15

View differences:

app/views/documents/_document.html.erb
<div class="document-item">
<h4><%= link_to h(document.title), document_path(document) %></h4>
<p><em><%= format_time(document.updated_on) %></em></p>
<div class="updated_on"><em><%= format_time(document.updated_on) %></em></div>
<div class="wiki">
<%= textilizable(truncate_lines(document.description), :object => document) %>
</div>
</div>
public/themes/alternate/stylesheets/application.css
/* Misc */
.box { background-color: #fcfcfc; }
/* document items - item-in-line */
.document-item {}
.document-item * {display: inline; padding-left: 10px; }
(1-1/7)