From 3ff95e403134eae1ceadce65fa3b11ceedb9e12d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 22 Dec 2007 12:47:23 +0000 Subject: [PATCH] Fixed 'export to' links positioning on wiki page. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1023 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/show.rhtml | 13 +++++++------ 1 file 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) %> -
-<%= 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' %> -
- <% if authorize_for('wiki', 'add_attachment') %>

<%= toggle_link l(:label_attachment_new), "add_attachment_form" %>

<% 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 %> +
+<%= 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' %> +
+  + <% content_for :header_tags do %> <%= stylesheet_link_tag 'scm' %> <% end %> -- 2.39.5