view .svn/pristine/ac/ac29e4943c6b7f06073e396c00b1a9f4120db8e8.svn-base @ 1368:987e71e73116 bibliography_testing

Setup of testing framework for the bibliography plugin.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 20 Aug 2013 18:00:06 +0100
parents 038ba2d95de8
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} %>
  <% if User.current.allowed_to?(:export_wiki_pages, @project) %>
  <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
  <%= f.link_to('HTML', :url => {:action => 'export'}) %>
  <% end %>
<% 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 %>