##// END OF EJS Templates
Refactor: convert WikiController to a REST resource...
Refactor: convert WikiController to a REST resource git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4303 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r4121:2ecca7e4df96
r4189:c514dd6885af
Show More
show.rhtml
80 lines | 3.4 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Adds a 'Add subprojects' permission....
r3124 <div class="contextual">
<% if User.current.allowed_to?(:add_subprojects, @project) %>
Eric Davis
Fix the new subproject link on project overview. #6388...
r3981 <%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'new', :parent_id => @project}, :class => 'icon icon-add' %>
Jean-Philippe Lang
Adds a 'Add subprojects' permission....
r3124 <% end %>
</div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%=l(:label_overview)%></h2>
<div class="splitcontentleft">
Jean-Philippe Lang
Fixed: Links to missing wiki pages not red on project overview page (#5177)....
r3500 <div class="wiki">
<%= textilizable @project.description %>
</div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <ul>
Jean-Philippe Lang
Fixed: Wrong link when "http" not included in project "Homepage" link (#4944)....
r3384 <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(@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
Fixed: Custom values with a nil value cause error on (project|account)/show (#3705)....
r2780 <% if !custom_value.value.blank? %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <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
Removes large icons....
r3065 <div class="issues box">
<h3><%=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 %>:
Jean-Philippe Lang
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2....
r2430 <%= l(:label_x_open_issues_abbr_on_total, :count => @open_issues_by_tracker[tracker].to_i,
:total => @total_issues_by_tracker[tracker].to_i) %>
</li>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
</ul>
Jean-Philippe Lang
Issue sidebar cleanup....
r3075 <p>
<%= link_to l(:label_issue_view_all), :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 %>
<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
Eric Davis
Refactor: move Project Calendar to it's own controller....
r3618 | <%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %>
Jean-Philippe Lang
Issue sidebar cleanup....
r3075 <% end %>
<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
Eric Davis
Refactor: Move gantts to a separate controller....
r3581 | <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %>
Jean-Philippe Lang
Issue sidebar cleanup....
r3075 <% end %>
</p>
Jean-Philippe Lang
Initial commit...
r2 </div>
Jean-Philippe Lang
Added project module concept....
r714 <% end %>
Eric Davis
Added two new plugin hooks to the Project Overview page...
r2594 <%= call_hook(:view_projects_show_left, :project => @project) %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 </div>
<div class="splitcontentright">
Eric Davis
Refactor: extract Members Box to partial....
r3895 <%= render :partial => 'members_box' %>
Jean-Philippe Lang
Application layout refactored....
r736
Jean-Philippe Lang
Moved ProjectsController#list_news to NewsController#index....
r875 <% if @news.any? && authorize_for('news', 'index') %>
Jean-Philippe Lang
Removes large icons....
r3065 <div class="news box">
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <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 %>
Eric Davis
Added two new plugin hooks to the Project Overview page...
r2594 <%= call_hook(:view_projects_show_right, :project => @project) %>
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 %>
<% if @total_hours && User.current.allowed_to?(:view_time_entries, @project) %>
<h3><%= l(:label_spent_time) %></h3>
Jean-Philippe Lang
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2....
r2430 <p><span class="icon icon-time"><%= l_hours(@total_hours) %></span></p>
Eric Davis
Refactor: rename TimelogController#details to #index...
r4121 <p><%= link_to(l(:label_details), {:controller => 'timelog', :action => 'index', :project_id => @project}) %> |
Eric Davis
Refactor: extract TimelogController#report to a new controller class...
r4118 <%= link_to(l(:label_report), {:controller => 'time_entry_reports', :action => 'report', :project_id => @project}) %></p>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Eric Davis
Added plugin hook, :view_projects_show_sidebar_bottom...
r2754 <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Jean-Philippe Lang
Added feeds auto discovery links on projects/show (patch by Nicolas Chuche)....
r641 <% content_for :header_tags do %>
Eric Davis
Refactor: extract ProjectsController#activity to a new Activities controller....
r3933 <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :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)) -%>