Mercurial > hg > soundsoftware-site
view .svn/pristine/1f/1fa67dac1aa9c162206c0f56eb10970df326cd79.svn-base @ 1543:05d639e5d59b feature_1136
First cut of a git export script
author | Chris Cannam |
---|---|
date | Tue, 12 Jan 2016 15:15:02 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
<div class="contextual"> <%= watcher_tag(@wiki, User.current) %> </div> <h2><%= l(:label_index_by_title) %></h2> <% if @pages.empty? %> <p class="nodata"><%= l(:label_no_data) %></p> <% end %> <%= render_page_hierarchy(@pages_by_parent_id, nil, :timestamp => true) %> <% content_for :sidebar do %> <%= render :partial => 'sidebar' %> <% end %> <% unless @pages.empty? %> <% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %> <%= f.link_to('HTML', :url => {:action => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %> <% end %> <% end %> <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %> <% end %>