diff options
| author | hukl <contact@smyck.org> | 2009-05-01 17:40:20 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-05-01 17:40:20 +0200 |
| commit | fed2a4c96e89986275faea6bf8cf20453cdfe5b5 (patch) | |
| tree | 7db66b241fde8f682728aefc45db4372ee5403ce | |
| parent | b604e415e2b54b48e63ac87ece01e8f914bb7045 (diff) | |
added show link to revisions view
| -rw-r--r-- | app/views/revisions/show.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb index 63a75ec..2a4a9a1 100644 --- a/app/views/revisions/show.html.erb +++ b/app/views/revisions/show.html.erb | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | <th>Title</th> | 13 | <th>Title</th> |
| 14 | <th>User</th> | 14 | <th>User</th> |
| 15 | <th>Date</th> | 15 | <th>Date</th> |
| 16 | <th></th> | ||
| 16 | </tr> | 17 | </tr> |
| 17 | <% @node.pages.reverse.each do |page| %> | 18 | <% @node.pages.reverse.each do |page| %> |
| 18 | <tr> | 19 | <tr> |
| @@ -22,10 +23,11 @@ | |||
| 22 | <td class="title"><%= page.title %></td> | 23 | <td class="title"><%= page.title %></td> |
| 23 | <td class="user"><%= page.user.try(:login) %></td> | 24 | <td class="user"><%= page.user.try(:login) %></td> |
| 24 | <td class="date"><%= page.updated_at %></td> | 25 | <td class="date"><%= page.updated_at %></td> |
| 26 | <td class="actions"><%= link_to 'show', node_path(page.node) %></td> | ||
| 25 | </tr> | 27 | </tr> |
| 26 | <% end %> | 28 | <% end %> |
| 27 | <tr class="no_hover"> | 29 | <tr class="no_hover"> |
| 28 | <td colspan="6" class="right"><%= submit_tag 'Diff revisions' %></td> | 30 | <td colspan="7" class="right"><%= submit_tag 'Diff revisions' %></td> |
| 29 | </tr> | 31 | </tr> |
| 30 | </table> | 32 | </table> |
| 31 | 33 | ||
