diff options
| author | hukl <contact@smyck.org> | 2009-03-02 14:12:23 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-03-02 14:12:23 +0100 |
| commit | ddc961fd81b37b44078fba35f0769b661e1e81ce (patch) | |
| tree | 99c26aa563605efeed5194171bbfbcedbbcbb4ab /app/views | |
| parent | e453dce6ec96906306967ad124cee79d11cd24fa (diff) | |
put the rendering of titles in the node overview into the nodes_helper
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/nodes/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 5d59f5d..1429d1a 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | <tr class="<%= cycle("even", "odd") %>"> | 16 | <tr class="<%= cycle("even", "odd") %>"> |
| 17 | <td> | 17 | <td> |
| 18 | <strong> | 18 | <strong> |
| 19 | <%= truncate(node.head.title, :length => 50) if node.head %> | 19 | <%= title_for_node node %> |
| 20 | </strong> | 20 | </strong> |
| 21 | </td> | 21 | </td> |
| 22 | <td><%= node.unique_name %></td> | 22 | <td><%= node.unique_name %></td> |
