Hide Redmine version in atom feeds and pdf properties (#794).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2003 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
57a4ee318a
commit
5166213fd3
@ -47,7 +47,7 @@ module IfpdfHelper
|
|||||||
@font_for_content = 'Arial'
|
@font_for_content = 'Arial'
|
||||||
@font_for_footer = 'Helvetica'
|
@font_for_footer = 'Helvetica'
|
||||||
end
|
end
|
||||||
SetCreator("redMine #{Redmine::VERSION}")
|
SetCreator(Redmine::Info.app_name)
|
||||||
SetFont(@font_for_content)
|
SetFont(@font_for_content)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
|||||||
xml.id url_for(:controller => 'welcome', :only_path => false)
|
xml.id url_for(:controller => 'welcome', :only_path => false)
|
||||||
xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema)
|
xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema)
|
||||||
xml.author { xml.name "#{Setting.app_title}" }
|
xml.author { xml.name "#{Setting.app_title}" }
|
||||||
xml.generator(:uri => Redmine::Info.url, :version => Redmine::VERSION) { xml.text! Redmine::Info.versioned_name; }
|
xml.generator(:uri => Redmine::Info.url) { xml.text! Redmine::Info.app_name; }
|
||||||
@items.each do |item|
|
@items.each do |item|
|
||||||
xml.entry do
|
xml.entry do
|
||||||
url = url_for(item.event_url(:only_path => false))
|
url = url_for(item.event_url(:only_path => false))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user