Project

General

Profile

Patch #17924 » structured-document-list.patch

Yonghwan SO, 2014-09-22 05:15

View differences:

app/views/documents/_document.html.erb
1
<div class="document-item">
1 2
<h4><%= link_to h(document.title), document_path(document) %></h4>
2
<p><em><%= format_time(document.updated_on) %></em></p>
3
<div class="updated_on"><em><%= format_time(document.updated_on) %></em></div>
3 4

  
4 5
<div class="wiki">
5 6
  <%= textilizable(truncate_lines(document.description), :object => document) %>
6 7
</div>
8
</div>
public/themes/alternate/stylesheets/application.css
68 68

  
69 69
/* Misc */
70 70
.box { background-color: #fcfcfc; }
71

  
72
/* document items - item-in-line */
73
.document-item {}
74
.document-item * {display: inline; padding-left: 10px; }
(1-1/7)