Mercurial > hg > soundsoftware-site
view .svn/pristine/42/42065d6686eb12e9679c9132fc4c1d7b2537270b.svn-base @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
line wrap: on
line source
xml.instruct! xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do xml.title @title xml.link "rel" => "self", "href" => url_for(:format => 'atom', :key => User.current.rss_key, :only_path => false) xml.link "rel" => "alternate", "href" => home_url(:only_path => false) xml.id url_for(:controller => 'welcome', :only_path => false) xml.updated((@journals.first ? @journals.first.event_datetime : Time.now).xmlschema) xml.author { xml.name "#{Setting.app_title}" } @journals.each do |change| issue = change.issue xml.entry do xml.title "#{issue.project.name} - #{issue.tracker.name} ##{issue.id}: #{issue.subject}" xml.link "rel" => "alternate", "href" => url_for(:controller => 'issues' , :action => 'show', :id => issue, :only_path => false) xml.id url_for(:controller => 'issues' , :action => 'show', :id => issue, :journal_id => change, :only_path => false) xml.updated change.created_on.xmlschema xml.author do xml.name change.user.name xml.email(change.user.mail) if change.user.is_a?(User) && !change.user.mail.blank? && !change.user.pref.hide_mail end xml.content "type" => "html" do xml.text! '<ul>' change.details.each do |detail| xml.text! '<li>' + show_detail(detail, false) + '</li>' end xml.text! '</ul>' xml.text! textilizable(change, :notes, :only_path => false) unless change.notes.blank? end end end end