##// END OF EJS Templates
Adds (a maximum of 3) links to project ancestors in the page title (#2788)....
Adds (a maximum of 3) links to project ancestors in the page title (#2788). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2485 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2423:33e7ae96adcb
r2423:33e7ae96adcb
Show More
show.rhtml
78 lines | 3.3 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%=l(:label_overview)%></h2>
<div class="splitcontentleft">
Jean-Philippe Lang
Various changes on views. On project summary, members are now grouped by role and subprojects are listed inline....
r431 <%= textilizable @project.description %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <ul>
Jean-Philippe Lang
link_to project homepage instead of auto_link (#1937)....
r1938 <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= link_to(h(@project.homepage), @project.homepage) %></li><% end %>
Jean-Philippe Lang
Merged nested projects branch. Removes limit on subproject nesting (#594)....
r2302 <% if @subprojects.any? %>
<li><%=l(:label_subproject_plural)%>:
<%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ") %></li>
<% end %>
Jean-Philippe Lang
Custom fields refactoring: most of code moved from controllers to models (using new module ActsAsCustomizable)....
r1578 <% @project.custom_values.each do |custom_value| %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% if !custom_value.value.empty? %>
<li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
<% end %>
<% end %>
</ul>
Jean-Philippe Lang
Added project module concept....
r714 <% if User.current.allowed_to?(:view_issues, @project) %>
Jean-Philippe Lang
Application layout refactored....
r736 <div class="box">
Jean-Philippe Lang
admin menu modification...
r339 <h3 class="icon22 icon22-tracker"><%=l(:label_issue_tracking)%></h3>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <ul>
<% for tracker in @trackers %>
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 <li><%= link_to tracker.name, :controller => 'issues', :action => 'index', :project_id => @project,
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 :set_filter => 1,
"tracker_id" => tracker.id %>:
<%= @open_issues_by_tracker[tracker] || 0 %> <%= lwr(:label_open_issues, @open_issues_by_tracker[tracker] || 0) %>
<%= l(:label_on) %> <%= @total_issues_by_tracker[tracker] || 0 %></li>
<% end %>
</ul>
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 <p><%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 %></p>
Jean-Philippe Lang
Initial commit...
r2 </div>
Jean-Philippe Lang
Added project module concept....
r714 <% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
<div class="splitcontentright">
Jean-Philippe Lang
Application layout refactored....
r736 <% if @members_by_role.any? %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="box">
<h3 class="icon22 icon22-users"><%=l(:label_member_plural)%></h3>
Jean-Philippe Lang
Application layout refactored....
r736 <p><% @members_by_role.keys.sort.each do |role| %>
<%= role.name %>:
<%= @members_by_role[role].collect(&:user).sort.collect{|u| link_to_user u}.join(", ") %>
<br />
<% end %></p>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Jean-Philippe Lang
Moved ProjectsController#list_news to NewsController#index....
r875 <% if @news.any? && authorize_for('news', 'index') %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="box">
<h3><%=l(:label_news_latest)%></h3>
Jean-Philippe Lang
various modifications to prevent xss...
r96 <%= render :partial => 'news/news', :collection => @news %>
Jean-Philippe Lang
Moved ProjectsController#list_news to NewsController#index....
r875 <p><%= link_to l(:label_news_view_all), :controller => 'news', :action => 'index', :project_id => @project %></p>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
Jean-Philippe Lang
News box on project/show is hidden if there is no news to display....
r448 <% end %>
Jean-Philippe Lang
Added feeds auto discovery links on projects/show (patch by Nicolas Chuche)....
r641 </div>
Jean-Philippe Lang
Application layout refactored....
r736 <% content_for :sidebar do %>
Jean-Philippe Lang
Fixed: Planning title displayed in the project sidebar even if there is no link below....
r743 <% planning_links = []
Jean-Philippe Lang
Adds support for free ticket filtering and custom queries on Calendar....
r1796 planning_links << link_to_if_authorized(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project)
Jean-Philippe Lang
Adds support for free ticket filtering and custom queries on Gantt chart....
r1795 planning_links << link_to_if_authorized(l(:label_gantt), :controller => 'issues', :action => 'gantt', :project_id => @project)
Jean-Philippe Lang
Fixed: Planning title displayed in the project sidebar even if there is no link below....
r743 planning_links.compact!
unless planning_links.empty? %>
Jean-Philippe Lang
Make 'Planning' string translatable (closes #890)....
r1275 <h3><%= l(:label_planning) %></h3>
Jean-Philippe Lang
Fixed: Planning title displayed in the project sidebar even if there is no link below....
r743 <p><%= planning_links.join(' | ') %></p>
<% end %>
Jean-Philippe Lang
Application layout refactored....
r736
<% if @total_hours && User.current.allowed_to?(:view_time_entries, @project) %>
<h3><%= l(:label_spent_time) %></h3>
<p><span class="icon icon-time"><%= lwr(:label_f_hour, @total_hours) %></span></p>
<p><%= link_to(l(:label_details), {:controller => 'timelog', :action => 'details', :project_id => @project}) %> |
<%= link_to(l(:label_report), {:controller => 'timelog', :action => 'report', :project_id => @project}) %></p>
<% end %>
<% end %>
Jean-Philippe Lang
Added feeds auto discovery links on projects/show (patch by Nicolas Chuche)....
r641 <% content_for :header_tags do %>
Jean-Philippe Lang
Removed ProjectsController#feeds. This view was incomplete and inconsistent with permissions....
r776 <%= auto_discovery_link_tag(:atom, {:action => 'activity', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
Jean-Philippe Lang
Added feeds auto discovery links on projects/show (patch by Nicolas Chuche)....
r641 <% end %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_overview)) -%>