diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-22 12:47:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-22 12:47:23 +0000 |
commit | 3ff95e403134eae1ceadce65fa3b11ceedb9e12d (patch) | |
tree | a5152ad12eeba5ffad15b6fcb1752ead9991129e /app/views/wiki | |
parent | bb8d360188b69fe66e20a969d5dbe6b86b1a0795 (diff) | |
download | redmine-3ff95e403134eae1ceadce65fa3b11ceedb9e12d.tar.gz redmine-3ff95e403134eae1ceadce65fa3b11ceedb9e12d.zip |
Fixed 'export to' links positioning on wiki page.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1023 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki')
-rw-r--r-- | app/views/wiki/show.rhtml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 8def56072..d23491711 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -24,12 +24,6 @@ <%= link_to_attachments @page.attachments, :delete_url => (authorize_for('wiki', 'destroy_attachment') ? {:controller => 'wiki', :action => 'destroy_attachment', :page => @page.title} : nil) %> -<div class="contextual"> -<%= l(:label_export_to) %> -<%= link_to 'HTML', {:page => @page.title, :export => 'html', :version => @content.version}, :class => 'icon icon-html' %>, -<%= link_to 'TXT', {:page => @page.title, :export => 'txt', :version => @content.version}, :class => 'icon icon-txt' %> -</div> - <% if authorize_for('wiki', 'add_attachment') %> <p><%= toggle_link l(:label_attachment_new), "add_attachment_form" %></p> <% form_tag({ :controller => 'wiki', :action => 'add_attachment', :page => @page.title }, :multipart => true, :class => "tabular", :id => "add_attachment_form", :style => "display:none;") do %> @@ -38,6 +32,13 @@ <% end %> <% end %> +<div class="contextual"> +<%= l(:label_export_to) %> +<%= link_to 'HTML', {:page => @page.title, :export => 'html', :version => @content.version}, :class => 'icon icon-html' %>, +<%= link_to 'TXT', {:page => @page.title, :export => 'txt', :version => @content.version}, :class => 'icon icon-txt' %> +</div> + + <% content_for :header_tags do %> <%= stylesheet_link_tag 'scm' %> <% end %> |