diff options
| author | hukl <contact@smyck.org> | 2009-04-27 16:29:32 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-04-27 16:29:32 +0200 |
| commit | d3a9b46ba5c863a0ff377dcffae9a494fe476e02 (patch) | |
| tree | 50b8143660d057143628a2f4cae8849fe6445b0d /app/views/admin | |
| parent | e9418758513fea6a83f63d31ecac316fdb6fc151 (diff) | |
truncated titles with title attribute in recent changes view
Diffstat (limited to 'app/views/admin')
| -rw-r--r-- | app/views/admin/_recent_changes.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/_recent_changes.html.erb b/app/views/admin/_recent_changes.html.erb index 1bb14a6..300d088 100644 --- a/app/views/admin/_recent_changes.html.erb +++ b/app/views/admin/_recent_changes.html.erb | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | </tr> | 10 | </tr> |
| 11 | <% @recent_changes.each do |node| %> | 11 | <% @recent_changes.each do |node| %> |
| 12 | <tr> | 12 | <tr> |
| 13 | <td><%= node.draft.try(:title) %></td> | 13 | <td><%= truncated_title_for_node node %></td> |
| 14 | <td><%= node.unique_name %></td> | 14 | <td><%= node.unique_name %></td> |
| 15 | <td><%= node.draft.user.login rescue "" %></td> | 15 | <td><%= node.draft.user.login rescue "" %></td> |
| 16 | <td><%= node.updated_at.to_s(:db) %></td> | 16 | <td><%= node.updated_at.to_s(:db) %></td> |
