% @title = "#{@page.plain_name} is locked" %><%= sub_template "top" %> <% if @page.lock_duration(Time.now) == 0 %>
<%= @page.locked_by_link %> just started editing this page.
<% else %><%= @page.locked_by_link %> has been editing this page for <%= @page.lock_duration(Time.now) %> minutes.
<% end %> <%= sub_template "bottom" %>