blob: f2a28957c367ff5b1a38560ffc4c733d96c59b74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<% content_for :subnavigation do %>
<%= link_to 'show all revisions', node_revisions_path(@node) %>
<% end %>
<div id="page_editor" class="show_node">
<table id="content">
<tr>
<td class="description">Path</td>
<td><%= @page.public_link %></td>
</tr>
<tr>
<td class="description">Author</td>
<td><%= @page.user.try(:login) %></td>
</tr>
<tr>
<td class="description">Editor</td>
<td><%= @page.editor.try(:login) %></td>
</tr>
<% if @page.node.locked? %>
<tr>
<td class="description">Locked by</td>
<td><%= @page.node.lock_owner.login %></td>
</tr>
<% end %>
<tr>
<td class="description">Last updated</td>
<td><%= @page.updated_at %></td>
</tr>
<tr>
<td class="description">Published at</td>
<td><%= @page.published_at %></td>
</tr>
<tr>
<td class="description">Revision</td>
<td><%= @page.revision %></td>
</tr>
<tr>
<td class="description"><strong>Title</strong></td>
<td><%= @page.title %></td>
</tr>
<tr>
<td class="description"><strong>Abstract</strong></td>
<td><%= @page.abstract %></td>
</tr>
<tr>
<td class="description"><strong>Body</strong></td>
<td><%= @page.body %></td>
</tr>
<tr>
<td></td>
<td class="right"></td>
</tr>
</table>
</div>
|