diff options
| author | hukl <contact@smyck.org> | 2009-11-11 15:56:33 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-11-11 15:56:33 +0100 |
| commit | 01e92228020181f340f64865af609be1b182fb8e (patch) | |
| tree | 027d8d5bb8807952034c1042ed5a4f015b0f50fe /app/views/nodes | |
| parent | 6d4ce84772e150fd9950819ca2b0e84614e06763 (diff) | |
Modified templates to show the editor now
Diffstat (limited to 'app/views/nodes')
| -rw-r--r-- | app/views/nodes/show.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index 87f65f5..bd95df4 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb | |||
| @@ -16,6 +16,10 @@ | |||
| 16 | <td class="description">Author</td> | 16 | <td class="description">Author</td> |
| 17 | <td><%= @page.user.try(:login) %></td> | 17 | <td><%= @page.user.try(:login) %></td> |
| 18 | </tr> | 18 | </tr> |
| 19 | <tr> | ||
| 20 | <td class="description">Editor</td> | ||
| 21 | <td><%= @page.editor.try(:login) %></td> | ||
| 22 | </tr> | ||
| 19 | <% if @page.node.locked? %> | 23 | <% if @page.node.locked? %> |
| 20 | <tr> | 24 | <tr> |
| 21 | <td class="description">Locked by</td> | 25 | <td class="description">Locked by</td> |
