##// END OF EJS Templates
Added cache for application settings (Setting model)....
Added cache for application settings (Setting model). Once the values are cached, only one database query is done at each user request (to check if the cache is still valid). git-svn-id: http://redmine.rubyforge.org/svn/trunk@685 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r633:f94be4f8ab84
r674:6bdc13b33d8d
Show More
changelog.rhtml
37 lines | 1.6 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%=l(:label_change_log)%></h2>
<div class="rightbox" style="width:140px;">
<% form_tag do %>
Jean-Philippe Lang
Added an option to see all versions in the roadmap view (including completed ones)....
r513 <p><strong><%=l(:label_tracker_plural)%></strong><br />
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% @trackers.each do |tracker| %>
<%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
<%= tracker.name %><br />
Jean-Philippe Lang
Added an option to see all versions in the roadmap view (including completed ones)....
r513 <% end %></p>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><center><%= submit_tag l(:button_apply), :class => 'button-small' %></center></p>
<% end %>
</div>
Jean-Philippe Lang
Versions can now be created with no date....
r533 <% if @versions.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
Jean-Philippe Lang
Versions can now be created with no date....
r533 <% @versions.each do |version| %>
<a name="<%= version.name %>"><h3 class="icon22 icon22-package"><%= version.name %></h3></a>
<% if version.completed? %>
<p><%= format_date(version.effective_date) %></p>
<% elsif version.effective_date %>
<p><strong><%=l(:label_roadmap_due_in)%> <%= distance_of_time_in_words Time.now, version.effective_date %> (<%= format_date(version.effective_date) %>)</strong></p>
<% end %>
<p><%=h version.description %></p>
<% issues = version.fixed_issues.find(:all,
:include => [:status, :tracker],
:conditions => ["#{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.tracker_id in (#{@selected_tracker_ids.join(',')})", true],
Jean-Philippe Lang
Fixed: SQL error on roadmap and changelog if there is no tracker to display....
r633 :order => "#{Tracker.table_name}.position") unless @selected_tracker_ids.empty?
issues ||= []
Jean-Philippe Lang
Versions can now be created with no date....
r533 %>
<% if !issues.empty? %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <ul>
Jean-Philippe Lang
Versions can now be created with no date....
r533 <% issues.each do |issue| %>
<li><%= link_to_issue(issue) %>: <%=h issue.subject %></li>
<% end %>
</ul>
<% end %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>