summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-29 22:27:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-29 22:27:43 +0000
commit840f18b1c7e462ee56307eb281a91bb7cbbe3ea4 (patch)
treeb162b6c1f42a021e701a8c788b9adbd271b3f78c /app
parent088563db3e00020d691d79d18c01ac8b06ce92d3 (diff)
downloadredmine-840f18b1c7e462ee56307eb281a91bb7cbbe3ea4.tar.gz
redmine-840f18b1c7e462ee56307eb281a91bb7cbbe3ea4.zip
Added Redmine::Info to store various information about the application.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@682 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/info.rhtml2
-rw-r--r--app/views/common/feed.atom.rxml2
-rw-r--r--app/views/layouts/base.rhtml4
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/info.rhtml b/app/views/admin/info.rhtml
index dd11aeb1a..a4b44965b 100644
--- a/app/views/admin/info.rhtml
+++ b/app/views/admin/info.rhtml
@@ -1,6 +1,6 @@
<h2><%=l(:label_information_plural)%></h2>
-<p><%=l(:field_version)%>: <strong>redMine <%= Redmine::VERSION %></strong> (<%= @db_adapter_name %>)</p>
+<p><%=l(:field_version)%>: <strong><%= Redmine::Info.versioned_name %></strong> (<%= @db_adapter_name %>)</p>
<table class="list">
<tr class="odd"><td>File repository writable</td><td><%= image_tag (@flags[:file_repository_writable] ? 'true.png' : 'false.png'), :style => "vertical-align:bottom;" %></td></tr>
diff --git a/app/views/common/feed.atom.rxml b/app/views/common/feed.atom.rxml
index fa00d754a..b5f733460 100644
--- a/app/views/common/feed.atom.rxml
+++ b/app/views/common/feed.atom.rxml
@@ -6,7 +6,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.id url_for(:controller => 'welcome', :only_path => false)
xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema)
xml.author { xml.name "#{Setting.app_title}" }
- xml.generator(:uri => Redmine::Info.url, :version => Redmine::VERSION) { xml.text! "#{Redmine::Info.name} #{Redmine::VERSION}" }
+ xml.generator(:uri => Redmine::Info.url, :version => Redmine::VERSION) { xml.text! Redmine::Info.versioned_name; }
@items.each do |item|
xml.entry do
xml.title truncate(item.event_title, 100)
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index 9c81a313b..1beb51ca9 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -3,7 +3,7 @@
<head>
<title><%= Setting.app_title + (@html_title ? ": #{@html_title}" : "") %></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta name="description" content="redMine" />
+<meta name="description" content="<%= Redmine::Info.app_name %>" />
<meta name="keywords" content="issue,bug,tracker" />
<!--[if IE]>
<style type="text/css">
@@ -103,7 +103,7 @@
</div>
<div id="footer">
- <p><a href="http://www.redmine.org/">redMine</a> <small><%= Redmine::VERSION %> &copy 2006-2007 Jean-Philippe Lang</small></p>
+ <p><%= link_to Redmine::Info.app_name, Redmine::Info.url %> <small><%= Redmine::VERSION %> &copy 2006-2007 Jean-Philippe Lang</small></p>
</div>
</div>