Sha256: 670c03fc9cd4e616e5cae7a1e55cfbdd7150c5f43fc5848079ae968d6e3e5c6c

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

- documents = Droom::Document.visible_to(current_user.person).latest(5)

%h2.section
  = link_to t(:latest_documents), droom.documents_url

- if documents.any?
  = render :partial => "droom/documents/document", :collection => documents, :locals => {:closed => true}
- else
  = t :no_documents

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/dashboard/_documents.html.haml
droom-0.4.2 app/views/droom/dashboard/_documents.html.haml
droom-0.4.1 app/views/droom/dashboard/_documents.html.haml