##// END OF EJS Templates
Fixed 'export to' links positioning on wiki page....
Jean-Philippe Lang -
r1010:3ff95e403134
parent child
Show More
@@ -24,12 +24,6
24
24
25 <%= link_to_attachments @page.attachments, :delete_url => (authorize_for('wiki', 'destroy_attachment') ? {:controller => 'wiki', :action => 'destroy_attachment', :page => @page.title} : nil) %>
25 <%= link_to_attachments @page.attachments, :delete_url => (authorize_for('wiki', 'destroy_attachment') ? {:controller => 'wiki', :action => 'destroy_attachment', :page => @page.title} : nil) %>
26
26
27 <div class="contextual">
28 <%= l(:label_export_to) %>
29 <%= link_to 'HTML', {:page => @page.title, :export => 'html', :version => @content.version}, :class => 'icon icon-html' %>,
30 <%= link_to 'TXT', {:page => @page.title, :export => 'txt', :version => @content.version}, :class => 'icon icon-txt' %>
31 </div>
32
33 <% if authorize_for('wiki', 'add_attachment') %>
27 <% if authorize_for('wiki', 'add_attachment') %>
34 <p><%= toggle_link l(:label_attachment_new), "add_attachment_form" %></p>
28 <p><%= toggle_link l(:label_attachment_new), "add_attachment_form" %></p>
35 <% form_tag({ :controller => 'wiki', :action => 'add_attachment', :page => @page.title }, :multipart => true, :class => "tabular", :id => "add_attachment_form", :style => "display:none;") do %>
29 <% 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
38 <% end %>
32 <% end %>
39 <% end %>
33 <% end %>
40
34
35 <div class="contextual">
36 <%= l(:label_export_to) %>
37 <%= link_to 'HTML', {:page => @page.title, :export => 'html', :version => @content.version}, :class => 'icon icon-html' %>,
38 <%= link_to 'TXT', {:page => @page.title, :export => 'txt', :version => @content.version}, :class => 'icon icon-txt' %>
39 </div>
40 &nbsp;
41
41 <% content_for :header_tags do %>
42 <% content_for :header_tags do %>
42 <%= stylesheet_link_tag 'scm' %>
43 <%= stylesheet_link_tag 'scm' %>
43 <% end %>
44 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now