@@ -0,0 +1,9 | |||||
|
1 | module Redmine | |||
|
2 | module Info | |||
|
3 | class << self | |||
|
4 | def app_name; 'Redmine' end | |||
|
5 | def url; 'http://www.redmine.org/' end | |||
|
6 | def versioned_name; "#{app_name} #{Redmine::VERSION}" end | |||
|
7 | end | |||
|
8 | end | |||
|
9 | end |
@@ -1,6 +1,6 | |||||
1 | <h2><%=l(:label_information_plural)%></h2> |
|
1 | <h2><%=l(:label_information_plural)%></h2> | |
2 |
|
2 | |||
3 |
<p><%=l(:field_version)%>: <strong> |
|
3 | <p><%=l(:field_version)%>: <strong><%= Redmine::Info.versioned_name %></strong> (<%= @db_adapter_name %>)</p> | |
4 |
|
4 | |||
5 | <table class="list"> |
|
5 | <table class="list"> | |
6 | <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> |
|
6 | <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> |
@@ -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, :version => Redmine::VERSION) { xml.text! |
|
9 | xml.generator(:uri => Redmine::Info.url, :version => Redmine::VERSION) { xml.text! Redmine::Info.versioned_name; } | |
10 | @items.each do |item| |
|
10 | @items.each do |item| | |
11 | xml.entry do |
|
11 | xml.entry do | |
12 | xml.title truncate(item.event_title, 100) |
|
12 | xml.title truncate(item.event_title, 100) |
@@ -3,7 +3,7 | |||||
3 | <head> |
|
3 | <head> | |
4 | <title><%= Setting.app_title + (@html_title ? ": #{@html_title}" : "") %></title> |
|
4 | <title><%= Setting.app_title + (@html_title ? ": #{@html_title}" : "") %></title> | |
5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
5 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
6 |
<meta name="description" content=" |
|
6 | <meta name="description" content="<%= Redmine::Info.app_name %>" /> | |
7 | <meta name="keywords" content="issue,bug,tracker" /> |
|
7 | <meta name="keywords" content="issue,bug,tracker" /> | |
8 | <!--[if IE]> |
|
8 | <!--[if IE]> | |
9 | <style type="text/css"> |
|
9 | <style type="text/css"> | |
@@ -103,7 +103,7 | |||||
103 | </div> |
|
103 | </div> | |
104 |
|
104 | |||
105 | <div id="footer"> |
|
105 | <div id="footer"> | |
106 |
<p>< |
|
106 | <p><%= link_to Redmine::Info.app_name, Redmine::Info.url %> <small><%= Redmine::VERSION %> © 2006-2007 Jean-Philippe Lang</small></p> | |
107 | </div> |
|
107 | </div> | |
108 |
|
108 | |||
109 | </div> |
|
109 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now