Commit 3ae186b52a0a9c44b6530314a05dac27e1cadd67
Committed by
Marcos Ramos
1 parent
657be12f
Exists in
master
and in
28 other branches
Move the "back button" to the outside of the article body.
(ActionItem2838)
Showing
1 changed file
with
6 additions
and
5 deletions
Show diff stats
app/views/content_viewer/view_page.rhtml
... | ... | @@ -14,6 +14,12 @@ |
14 | 14 | window.NO_COMMENT_YET = "<%= _('No comments yet') %>"; |
15 | 15 | </script> |
16 | 16 | |
17 | +<% if @page.parent && !@page.parent.path.blank? %> | |
18 | +<div id="article-parent"> | |
19 | + <%= button(:back, _('Go back to %s') % @page.parent.short_title, @page.parent.url) %> | |
20 | +</div> | |
21 | +<% end %> | |
22 | + | |
17 | 23 | <div id="article-toolbar"></div> |
18 | 24 | |
19 | 25 | <script type="text/javascript"> |
... | ... | @@ -43,11 +49,6 @@ |
43 | 49 | </div> |
44 | 50 | <% end %> |
45 | 51 | |
46 | -<% if @page.parent && !@page.parent.path.blank? %> | |
47 | -<div id="article-parent"> | |
48 | - <%= button(:back, _('Go back to %s') % @page.parent.short_title, @page.parent.url) %> | |
49 | -</div> | |
50 | -<% end %> | |
51 | 52 | |
52 | 53 | <%= render :partial => 'shared/disabled_enterprise' %> |
53 | 54 | ... | ... |