Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 366
- Log:
Hub integration.
- Author:
- rool
- Date:
- Sat Mar 19 22:06:05 +0000 2011
- Size:
- 1444 Bytes
1 | <%- |
2 | @title = "Rollback to #{@page.plain_name} Rev ##{@revision_number}".html_safe |
3 | @content_width = 720 |
4 | @hide_navigation = true |
5 | -%> |
6 | |
7 | <div id="MarkupHelp"> |
8 | <%= render(:file => "#{@web.markup}_help") -%> |
9 | <%= render(:file => 'wiki_words_help') unless @web.brackets_only? -%> |
10 | </div> |
11 | |
12 | <% form_tag({:web => @web.address, :action => 'save', :id => @page.name}, |
13 | { :id => 'editForm', :method => 'post', :onsubmit => 'cleanAuthorName();', |
14 | 'accept-charset' => 'utf-8' }) do %> |
15 | <div> |
16 | <textarea name="content" id="content" rows="24" cols="60"><%= h(@revision.content.purify) %></textarea> |
17 | <div id="editFormButtons"> |
18 | <input type="submit" value="Update" accesskey="u" /> |
19 | <% |
20 | if false # 2011-03-14 (ADH): Hub integration - author comes from logged in user name |
21 | -%> |
22 | as |
23 | <input type="text" name="author" id="authorName" value="<%= h(@author.purify) %>" |
24 | onclick="this.value == 'AnonymousCoward' ? this.value = '' : true" /> |
25 | <% end -%> |
26 | | |
27 | <span> |
28 | <%= link_to('Cancel', {:web => @web.address, :action => 'cancel_edit', :id => @page.name}, |
29 | {:accesskey => 'c'}) %> |
30 | <span class="unlock">(unlocks page)</span> |
31 | </span> |
32 | </div> |
33 | </div> |
34 | <%- end -%> |
35 | |
36 | <script type="text/javascript"> |
37 | function cleanAuthorName() { |
38 | if (document.getElementById('authorName').value == "") { |
39 | document.getElementById('authorName').value = 'AnonymousCoward'; |
40 | } |
41 | } |
42 | </script> |