@@ -47,7 +47,7 module IfpdfHelper | |||||
47 | @font_for_content = 'Arial' |
|
47 | @font_for_content = 'Arial' | |
48 | @font_for_footer = 'Helvetica' |
|
48 | @font_for_footer = 'Helvetica' | |
49 | end |
|
49 | end | |
50 |
SetCreator( |
|
50 | SetCreator(Redmine::Info.app_name) | |
51 | SetFont(@font_for_content) |
|
51 | SetFont(@font_for_content) | |
52 | end |
|
52 | end | |
53 |
|
53 |
@@ -6,7 +6,7 xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do | |||||
6 | xml.id url_for(:controller => 'welcome', :only_path => false) |
|
6 | xml.id url_for(:controller => 'welcome', :only_path => false) | |
7 | xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema) |
|
7 | xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema) | |
8 | xml.author { xml.name "#{Setting.app_title}" } |
|
8 | xml.author { xml.name "#{Setting.app_title}" } | |
9 |
xml.generator(:uri => Redmine::Info.url |
|
9 | xml.generator(:uri => Redmine::Info.url) { xml.text! Redmine::Info.app_name; } | |
10 | @items.each do |item| |
|
10 | @items.each do |item| | |
11 | xml.entry do |
|
11 | xml.entry do | |
12 | url = url_for(item.event_url(:only_path => false)) |
|
12 | url = url_for(item.event_url(:only_path => false)) |
General Comments 0
You need to be logged in to leave comments.
Login now