Mercurial > hg > soundsoftware-site
annotate .svn/pristine/46/4604849a86c8bbf40b2a1eb833e2c3ff6fe87f8f.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 <div class="contextual"> |
Chris@909 | 2 <%= watcher_tag(@wiki, User.current) %> |
Chris@909 | 3 </div> |
Chris@909 | 4 |
Chris@909 | 5 <h2><%= l(:label_index_by_date) %></h2> |
Chris@909 | 6 |
Chris@909 | 7 <% if @pages.empty? %> |
Chris@909 | 8 <p class="nodata"><%= l(:label_no_data) %></p> |
Chris@909 | 9 <% end %> |
Chris@909 | 10 |
Chris@909 | 11 <% @pages_by_date.keys.sort.reverse.each do |date| %> |
Chris@909 | 12 <h3><%= format_date(date) %></h3> |
Chris@909 | 13 <ul> |
Chris@909 | 14 <% @pages_by_date[date].each do |page| %> |
Chris@909 | 15 <li><%= link_to h(page.pretty_title), :action => 'show', :id => page.title, :project_id => page.project %></li> |
Chris@909 | 16 <% end %> |
Chris@909 | 17 </ul> |
Chris@909 | 18 <% end %> |
Chris@909 | 19 |
Chris@909 | 20 <% content_for :sidebar do %> |
Chris@909 | 21 <%= render :partial => 'sidebar' %> |
Chris@909 | 22 <% end %> |
Chris@909 | 23 |
Chris@909 | 24 <% unless @pages.empty? %> |
Chris@909 | 25 <% other_formats_links do |f| %> |
Chris@909 | 26 <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.rss_key} %> |
Chris@909 | 27 <%= f.link_to('HTML', :url => {:action => 'export'}) if User.current.allowed_to?(:export_wiki_pages, @project) %> |
Chris@909 | 28 <% end %> |
Chris@909 | 29 <% end %> |
Chris@909 | 30 |
Chris@909 | 31 <% content_for :header_tags do %> |
Chris@909 | 32 <%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :format => 'atom', :key => User.current.rss_key) %> |
Chris@909 | 33 <% end %> |