diff options
| author | erdgeist <erdgeist@bauklotz.local> | 2009-03-18 11:36:10 +0100 |
|---|---|---|
| committer | erdgeist <erdgeist@bauklotz.local> | 2009-03-18 11:36:10 +0100 |
| commit | d957a33a0d50f00c1968c5d12e728bd73ea186b3 (patch) | |
| tree | 8d7ecce1fc6c82abea10b8b8be868a92746cbd89 /app/views/revisions/show.html.erb | |
| parent | ce55ed022fd373af58f7bd25cdd3f092f5698c54 (diff) | |
| parent | ca08b36ca6bd874abbb7207495860eeeb53884e0 (diff) | |
Merge branch 'master' of ssh://git@svn.medienhaus.udk-berlin.de/usr/local/git/cccms
Diffstat (limited to 'app/views/revisions/show.html.erb')
| -rw-r--r-- | app/views/revisions/show.html.erb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb new file mode 100644 index 00000000..64979fc1 --- /dev/null +++ b/app/views/revisions/show.html.erb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | <div id="subnavigation"> | ||
| 2 | <%= link_to 'Diff revisions', :action => :diff, :id => params[:id] %> | ||
| 3 | <%= link_to 'Edit', edit_node_path(@node) %> | ||
| 4 | </div> | ||
| 5 | |||
| 6 | <h2>Revisions for Node: <%= @node.unique_name %></h2> | ||
| 7 | |||
| 8 | <h3>Current title: <%= @node.head.title %></h3> | ||
| 9 | <table> | ||
| 10 | <% @node.pages.reverse.each do |page| %> | ||
| 11 | <tr> | ||
| 12 | <td><%= page.revision %></td> | ||
| 13 | <td><%= page.title %></td> | ||
| 14 | <td><%= page.user.try(:login) %></td> | ||
| 15 | <td><%= page.updated_at %></td> | ||
| 16 | </tr> | ||
| 17 | <% end %> | ||
| 18 | </table> \ No newline at end of file | ||
