time zone

This commit is contained in:
Andreas Stephanides
2015-04-29 15:25:10 +02:00
parent 2d2931cdb8
commit 19959b083e
3 changed files with 6 additions and 5 deletions

View File

@@ -1,11 +1,12 @@
<div class="hidden-print">
<%= link_to "Back to parent" , @document.parent, class: "btn" %>
<div class="btn-group">
<%= link_to "PDF", document_path(@document, :format=>"pdf"),class: "btn" %>
<%= link_to ff_icon("icon-pencil") + "Edit", write_document_path(@document), class: "btn" %>
<%= link_to ff_icon("icon-refresh")+"Refresh from Etherpad", read_from_etherpad_document_path(@document), class: "btn" if @document.is_etherpad? %>
<%= link_to "Copy Document to Etherpad", dump_to_etherpad_document_path(@document) , confirm: "Sicher? Löscht alle Änderungen im Etherpad" , class: "btn" %>
<%= link_to 'Delete', @document, method: :delete, data: { confirm: 'Are you sure?' } , remote: true, class: "btn btn-danger" if can? :delete, @document %>
</div>
</div>
<h2><%= @document.name %></h2>