diff options
Diffstat (limited to 'app/views/wiki')
-rw-r--r-- | app/views/wiki/show.rhtml | 9 | ||||
-rw-r--r-- | app/views/wiki/special_date_index.rhtml | 13 | ||||
-rw-r--r-- | app/views/wiki/special_page_index.rhtml | 13 |
3 files changed, 22 insertions, 13 deletions
diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 77d82884f..e4413d090 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -36,12 +36,11 @@ <% end %> <% end %> -<div class="contextual"> +<p class="other-formats"> <%= 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> - +<span><%= link_to 'HTML', {:page => @page.title, :export => 'html', :version => @content.version}, :class => 'html' %></span> +<span><%= link_to 'TXT', {:page => @page.title, :export => 'txt', :version => @content.version}, :class => 'text' %></span> +</p> <% content_for :header_tags do %> <%= stylesheet_link_tag 'scm' %> diff --git a/app/views/wiki/special_date_index.rhtml b/app/views/wiki/special_date_index.rhtml index ac68f809e..6717ebc85 100644 --- a/app/views/wiki/special_date_index.rhtml +++ b/app/views/wiki/special_date_index.rhtml @@ -17,9 +17,14 @@ <%= render :partial => 'sidebar' %> <% end %> -<div class="contextual"> <% unless @pages.empty? %> -<%= l(:label_export_to) %> <%= link_to 'HTML', {:action => 'special', :page => 'export'}, :class => 'icon icon-html' %> +<p class="other-formats"> +<%= l(:label_export_to) %> +<span><%= link_to 'Atom', {:controller => 'projects', :action => 'activity', :id => @project, :show_wiki_pages => 1, :format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span> +<span><%= link_to 'HTML', {:action => 'special', :page => 'export'}, :class => 'html' %></span> +</p> +<% end %> + +<% content_for :header_tags do %> +<%= auto_discovery_link_tag(:atom, :controller => 'projects', :action => 'activity', :id => @project, :show_wiki_pages => 1, :format => 'atom', :key => User.current.rss_key) %> <% end %> -</div> - diff --git a/app/views/wiki/special_page_index.rhtml b/app/views/wiki/special_page_index.rhtml index db6629de8..f21cc3423 100644 --- a/app/views/wiki/special_page_index.rhtml +++ b/app/views/wiki/special_page_index.rhtml @@ -14,9 +14,14 @@ <%= render :partial => 'sidebar' %> <% end %> -<div class="contextual"> <% unless @pages.empty? %> -<%= l(:label_export_to) %> <%= link_to 'HTML', {:action => 'special', :page => 'export'}, :class => 'icon icon-html' %> +<p class="other-formats"> +<%= l(:label_export_to) %> +<span><%= link_to 'Atom', {:controller => 'projects', :action => 'activity', :id => @project, :show_wiki_pages => 1, :format => 'atom', :key => User.current.rss_key}, :class => 'feed' %></span> +<span><%= link_to 'HTML', {:action => 'special', :page => 'export'} %></span> +</p> +<% end %> + +<% content_for :header_tags do %> +<%= auto_discovery_link_tag(:atom, :controller => 'projects', :action => 'activity', :id => @project, :show_wiki_pages => 1, :format => 'atom', :key => User.current.rss_key) %> <% end %> -</div> - |