Sha256: 712551bc59c6b9c916129c127f50920246b6c678a5e92cefb5130fbd3b0ef078

Contents?: true

Size: 616 Bytes

Versions: 2

Compression:

Stored size: 616 Bytes

Contents

<% @title = "#{@page.plain_name} is locked" %>

<p>
  <%= link_to_page(@page.locked_by) %>
  <% if @page.lock_duration(Time.now) == 0 %>
    just started editing this page.
  <% else %>
    has been editing this page for <%= @page.lock_duration(Time.now) %> minutes.
  <% end %>
</p>

<p>
  <%= link_to 'Edit the page anyway',
        {:web => @web_name, :action => 'edit', :id => @page.name, :params => {'break_lock' => '1'} },
        {:accesskey => 'E'}
  %>

  <%= link_to 'Cancel',
        {:web => @web_name, :action => 'show', :id => @page.name},
        {:accesskey => 'C'}
  %>

</p>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
instiki-0.10.1 app/views/wiki/locked.rhtml
instiki-0.10.2 app/views/wiki/locked.rhtml