@@ -1,7 +1,7 | |||||
1 | <% user_projects_by_root = User.current.projects.find(:all, :include => :parent).group_by(&:root) %> |
|
1 | <% user_projects_by_root = User.current.projects.find(:all, :include => :parent).group_by(&:root) %> | |
2 | <select onchange="if (this.value != '') { window.location = this.value; }"> |
|
2 | <select onchange="if (this.value != '') { window.location = this.value; }"> | |
3 | <option selected><%= l(:label_jump_to_a_project) %></option> |
|
3 | <option selected="selected"><%= l(:label_jump_to_a_project) %></option> | |
4 | <option disabled>---</option> |
|
4 | <option disabled="disabled">---</option> | |
5 | <% user_projects_by_root.keys.sort.each do |root| %> |
|
5 | <% user_projects_by_root.keys.sort.each do |root| %> | |
6 | <%= content_tag('option', h(root.name), :value => url_for(:controller => 'projects', :action => 'show', :id => root)) %> |
|
6 | <%= content_tag('option', h(root.name), :value => url_for(:controller => 'projects', :action => 'show', :id => root)) %> | |
7 | <% user_projects_by_root[root].sort.each do |project| %> |
|
7 | <% user_projects_by_root[root].sort.each do |project| %> |
@@ -1,4 +1,4 | |||||
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1. |
|
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
3 | <head> |
|
3 | <head> | |
4 | <title><%=h html_title %></title> |
|
4 | <title><%=h html_title %></title> | |
@@ -73,7 +73,7 | |||||
73 | <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div> |
|
73 | <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div> | |
74 |
|
74 | |||
75 | <div id="footer"> |
|
75 | <div id="footer"> | |
76 | Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> <%= Redmine::VERSION %> © 2006-2007 Jean-Philippe Lang |
|
76 | Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> <%= Redmine::VERSION %> © 2006-2007 Jean-Philippe Lang | |
77 | </div> |
|
77 | </div> | |
78 | </body> |
|
78 | </body> | |
79 | </html> |
|
79 | </html> |
@@ -1,6 +1,6 | |||||
1 | <p><%= link_to(h(news.project.name), :controller => 'projects', :action => 'show', :id => news.project) + ': ' unless @project %> |
|
1 | <p><%= link_to(h(news.project.name), :controller => 'projects', :action => 'show', :id => news.project) + ': ' unless @project %> | |
2 | <%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %> |
|
2 | <%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %> | |
3 |
<%= "(#{news.comments_count} #{lwr(:label_comment, news.comments_count).downcase})" if news.comments_count > 0 %> |
|
3 | <%= "(#{news.comments_count} #{lwr(:label_comment, news.comments_count).downcase})" if news.comments_count > 0 %> | |
4 | <br /> |
|
4 | <br /> | |
5 | <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %> |
|
5 | <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %> | |
6 | <span class="author"><%= authoring news.created_on, news.author %></p> |
|
6 | <span class="author"><%= authoring news.created_on, news.author %></span></p> |
General Comments 0
You need to be logged in to leave comments.
Login now