##// END OF EJS Templates
New setting added to specify how many objects should be displayed on most paginated lists....
New setting added to specify how many objects should be displayed on most paginated lists. Default is: 25, 50, 100 (users can choose one of these values). If one value only is entered in this setting (eg. 25), the 'per page' links are not displayed (prior behaviour). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1026 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r951:f58db70bdecd
r1013:9a1b46fe4287
Show More
show.rhtml
85 lines | 3.5 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
Fixed: 10342 Creation of Schema in Oracle...
r476 <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link @project.homepage %></li><% end %>
Jean-Philippe Lang
Application layout refactored....
r736 <% if @subprojects.any? %>
Jean-Philippe Lang
Project name format limitation removed (name can now contain any character)....
r936 <li><%=l(:label_subproject_plural)%>: <%= @subprojects.collect{|p| link_to(h(p.name), :action => 'show', :id => p)}.join(", ") %></li>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
<% if @project.parent %>
Jean-Philippe Lang
Project name format limitation removed (name can now contain any character)....
r936 <li><%=l(:field_parent)%>: <%= link_to h(@project.parent.name), :controller => 'projects', :action => 'show', :id => @project.parent %></li>
Jean-Philippe Lang
Added parent project name (if it exists) on project list and project overview....
r401 <% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% for custom_value in @custom_values %>
<% 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
Added per-project tracker selection. Trackers can be selected on project settings....
r907 <% if authorize_for('projects', 'add_issue') && @project.trackers.any? %>
Jean-Philippe Lang
Application layout refactored....
r736 <h3><%= l(:label_issue_new) %></h3>
<%= l(:label_tracker) %>: <%= new_issue_selector %>
<% end %>
Jean-Philippe Lang
Fixed: Planning title displayed in the project sidebar even if there is no link below....
r743 <% planning_links = []
planning_links << link_to_if_authorized(l(:label_calendar), :action => 'calendar', :id => @project)
planning_links << link_to_if_authorized(l(:label_gantt), :action => 'gantt', :id => @project)
planning_links.compact!
unless planning_links.empty? %>
Jean-Philippe Lang
Application layout refactored....
r736 <h3>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
<% set_html_title l(:label_overview) -%>