kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.5 KiB
30 lines
1.5 KiB
17 years ago
|
xml.instruct!
|
||
|
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
||
|
xml.title @title
|
||
17 years ago
|
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)
|
||
17 years ago
|
xml.id url_for(:controller => 'welcome', :only_path => false)
|
||
17 years ago
|
xml.updated((@journals.first ? @journals.first.event_datetime : Time.now).xmlschema)
|
||
17 years ago
|
xml.author { xml.name "#{Setting.app_title}" }
|
||
17 years ago
|
@journals.each do |change|
|
||
17 years ago
|
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
|
||
16 years ago
|
xml.email(change.user.mail) if change.user.is_a?(User) && !change.user.mail.blank? && !change.user.pref.hide_mail
|
||
17 years ago
|
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>'
|
||
16 years ago
|
xml.text! textilizable(change, :notes, :only_path => false) unless change.notes.blank?
|
||
17 years ago
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|