]> source.dussan.org Git - redmine.git/commitdiff
Fixed 'export to' links positioning on wiki page.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 22 Dec 2007 12:47:23 +0000 (12:47 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 22 Dec 2007 12:47:23 +0000 (12:47 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1023 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/wiki/show.rhtml

index 8def56072213744e3fb8ce3cc1f7910bff7d26e4..d23491711a2c709016d6d829b0db4fcb0b0024de 100644 (file)
 
 <%= 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 %>
 <% 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>
+&nbsp;
+
 <% content_for :header_tags do %>
   <%= stylesheet_link_tag 'scm' %>
 <% end %>