diff options
| -rw-r--r-- | app/views/nodes/index.html.erb | 4 | ||||
| -rw-r--r-- | public/stylesheets/admin.css | 6 |
2 files changed, 9 insertions, 1 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> |
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 5fe88f1..3e67231 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -22,7 +22,7 @@ th { | |||
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | th.title { | 24 | th.title { |
| 25 | width: 400px; | 25 | width: 370px; |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | th.path { | 28 | th.path { |
| @@ -37,6 +37,10 @@ th.editor { | |||
| 37 | width: 120px; | 37 | width: 120px; |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | th.revision { | ||
| 41 | width: 30px; | ||
| 42 | } | ||
| 43 | |||
| 40 | td { | 44 | td { |
| 41 | padding: 3px; | 45 | padding: 3px; |
| 42 | } | 46 | } |
