##// END OF EJS Templates
Reverting commit r1748. Some environments are not allowing the cached file to...
Reverting commit r1748. Some environments are not allowing the cached file to write to public, causing all JavaScript to fail. Javascripts are now cached into a single file for downloads in production mode. #1186 git-svn-id: http://redmine.rubyforge.org/svn/trunk@1771 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1598:9703f576d96c
r1770:8f3a04ce6906
Show More
show.rhtml
80 lines | 3.4 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
Escapes HTML tags....
r1598 <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(@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
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 = []
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
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)) -%>