12345678910111213141516171819202122232425262728 |
- <% skin view %>
- <% view history uses content::history extends master %>
- <% template title() %><% gt "WikiPP :: History" %> :: <%= title %><% end %>
- <% template navigation() %>
- <a href="<%= page_link %>"><% gt "Back to page" %></a>
- /
- <% include master::navigation() %>
- <% end template %>
- <% template main() %>
- <% foreach row in hist %>
- <ul>
- <% item %>
- <li>
- <% gt "Version {1,num}, changed at {2,dt=s}, by {3}" using row.version, row.update, row.author %>,
- <a href="<%= row.show_url %>"><% gt "Show" %></a>,
- <a href="<%= row.edit_url %>"><% gt "Edit (rollback)" %></a><% if not empty row.diff_url %>,
- <a href="<%= row.diff_url %>"><% gt "Diff to previous" %></a>
- <% end %>
- </li>
- <% end %>
- </ul>
- <% empty %>
- <h2><% gt "History is empty" %></h2>
- <% end %>
- <% if not empty page %><p><a href="<%= page %>"><% gt "Next page" %></a></p><% end %>
- <% end template %>
- <% end view %>
- <% end skin %>
|