##// END OF EJS Templates
Trac importer: user can now choose between sqlite and sqlite3 adapter for Trac database....
Trac importer: user can now choose between sqlite and sqlite3 adapter for Trac database. Trac importer: issues and wiki modules are enabled by default for the imported project. Fixed: 404 error when trying to save a custom query under certain circumstance. git-svn-id: http://redmine.rubyforge.org/svn/trunk@894 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r643:446889b3f0cb
r881:b0bb1baeaac6
Show More
change_status.rhtml
40 lines | 1.9 KiB | text/html+ruby | RhtmlLexer
/ app / views / issues / change_status.rhtml
Jean-Philippe Lang
various modifications to prevent xss...
r96 <h2><%=l(:label_issue)%> #<%= @issue.id %>: <%=h @issue.subject %></h2>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
<%= error_messages_for 'issue' %>
Jean-Philippe Lang
Modified the change_status view to use the form builder....
r423 <% labelled_tabular_form_for(:issue, @issue, :url => {:action => 'change_status', :id => @issue}, :html => {:multipart => true}) do |f| %>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
<%= hidden_field_tag 'confirm', 1 %>
Jean-Philippe Lang
improved issues change history...
r52 <%= hidden_field_tag 'new_status_id', @new_status.id %>
Jean-Philippe Lang
Modified the change_status view to use the form builder....
r423 <%= f.hidden_field :lock_version %>
Jean-Philippe Lang
0.3 unstable...
r10
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <div class="box">
Jean-Philippe Lang
Added the ability to log time when changing an issue status....
r583 <div class="splitcontentleft">
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <p><label><%=l(:label_issue_status_new)%></label> <%= @new_status.name %></p>
Jean-Philippe Lang
Added a 'Assignable' boolean on Role model....
r643 <p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p>
Jean-Philippe Lang
Modified the change_status view to use the form builder....
r423 <p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>
Jean-Philippe Lang
Fixed: versions not sorted correctly in drop down lists....
r613 <p><%= f.select :fixed_version_id, (@project.versions.sort.collect {|v| [v.name, v.id]}), { :include_blank => true } %></p>
Jean-Philippe Lang
Added the ability to log time when changing an issue status....
r583 </div>
<div class="splitcontentright">
<% if authorize_for('timelog', 'edit') %>
<% fields_for :time_entry, @time_entry, { :builder => TabularFormBuilder, :lang => current_language} do |time_entry| %>
<p><%= time_entry.text_field :hours, :size => 6, :label => :label_spent_time %> <%= l(:field_hours) %></p>
<p><%= time_entry.text_field :comments, :size => 40 %></p>
<p><%= time_entry.select :activity_id, (@activities.collect {|p| [p.name, p.id]}) %></p>
<% end %>
<% end %>
</div>
<div class="clear"></div>
Jean-Philippe Lang
data locking for issues...
r21
Jean-Philippe Lang
improved issues change history...
r52 <p><label for="notes"><%= l(:field_notes) %></label>
Jean-Philippe Lang
width of all wiki content textareas set to 99.5%...
r326 <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
Jean-Philippe Lang
improved issues change history...
r52
Jean-Philippe Lang
Feature 9867 Allow file upload in comment and add to issue history...
r422 <% if authorize_for('issues', 'add_attachment') %>
<p id="attachments_p"><label><%=l(:label_attachment_new)%>
<%= image_to_function "add.png", "addFileField();return false" %></label>
<%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>
<% end %>
Jean-Philippe Lang
improved issues change history...
r52 </div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330
<%= submit_tag l(:button_save) %>
<% end %>