diff options
| author | hukl <contact@smyck.org> | 2009-03-08 22:57:29 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-03-08 22:57:29 +0100 |
| commit | 2aab7eaa19dcd2d86012f71954b8543572f8eaa5 (patch) | |
| tree | d79e3a655a119f132e67c2fcee7278ae3b539f38 /app | |
| parent | 1236567886d4f81cb6d3d4d8017a543c27a66e12 (diff) | |
added revision column to nodes overview
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/nodes/index.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 833ffed..a2a42b1 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | <th class="path">Path</th> | 11 | <th class="path">Path</th> |
| 12 | <th class="actions">Actions</th> | 12 | <th class="actions">Actions</th> |
| 13 | <th class="editor">Locked by</th> | 13 | <th class="editor">Locked by</th> |
| 14 | <th class="revision">Rev.</th> | ||
| 14 | </tr> | 15 | </tr> |
| 15 | <% @nodes.each do |node| %> | 16 | <% @nodes.each do |node| %> |
| 16 | <tr class="<%= cycle("even", "odd") %>"> | 17 | <tr class="<%= cycle("even", "odd") %>"> |
| @@ -29,6 +30,9 @@ | |||
| 29 | <td> | 30 | <td> |
| 30 | <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> | 31 | <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> |
| 31 | </td> | 32 | </td> |
| 33 | <td> | ||
| 34 | <%= node.head.revision if node.head %> | ||
| 35 | </td> | ||
| 32 | </tr> | 36 | </tr> |
| 33 | <% end %> | 37 | <% end %> |
| 34 | </table> | 38 | </table> |
