Skip to content

Commit

Permalink
Dashboard: Make sure we're showing the editor of the most recent draf…
Browse files Browse the repository at this point in the history
…t in the 'Page Updates' panel, rather than the editor of the most recent published version
  • Loading branch information
jonleighton committed Sep 20, 2009
1 parent e7dab44 commit bad6a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/cms/dashboard/_page_drafts.html.erb
Expand Up @@ -8,7 +8,7 @@
<tr>
<th class="select first unbordered">&nbsp;</th>
<th colspan="2"><div class="dividers">Name</div></th>
<th><div class="dividers">User</div></th>
<th><div class="dividers">Editor</div></th>
<th class="last" colspan="2">Date</th>
</tr>
</thead>
Expand All @@ -27,7 +27,7 @@
</td>
<td class="updated_by">
<div class="dividers">
<%= h(page.updated_by ? page.updated_by.login : nil) %>
<%= h(page.draft.updated_by ? page.draft.updated_by.login : nil) %>
</div>
</td>
<td class="updated_at"><%= page.updated_at.strftime("%b %d") %></td>
Expand Down

0 comments on commit bad6a69

Please sign in to comment.