##// END OF EJS Templates
extend mail header test to text mail (#13482)...
extend mail header test to text mail (#13482) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11719 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10376:83bcc1f04351
r11489:c709c5120c5c
Show More
_attributes.html.erb
73 lines | 3.6 KiB | text/plain | TextLexer
/ app / views / issues / _attributes.html.erb
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= labelled_fields_for :issue, @issue do |f| %>
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994
Jean-Philippe Lang
Removed "clear:both" divs that break the issue form with long sidebar content....
r8738 <div class="splitcontent">
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <div class="splitcontentleft">
Jean-Philippe Lang
Don't display the dropdown if no transition is allowed....
r10284 <% if @issue.safe_attribute?('status_id') && @allowed_statuses.present? %>
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 <p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), {:required => true},
:onchange => "updateIssueFrom('#{escape_javascript project_issue_form_path(@project, :id => @issue, :format => 'js')}')" %></p>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <% else %>
Toshi MARUYAMA
HTML escape at app/views/issues/_attributes.rhtml....
r6249 <p><label><%= l(:field_status) %></label> <%= h(@issue.status.name) %></p>
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <% end %>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% if @issue.safe_attribute? 'priority_id' %>
Jean-Philippe Lang
Adds subtasking (#443) including:...
r3459 <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), {:required => true}, :disabled => !@issue.leaf? %></p>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% end %>
<% if @issue.safe_attribute? 'assigned_to_id' %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p><%= f.select :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to), :include_blank => true, :required => @issue.required_attribute?('assigned_to_id') %></p>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% end %>
Jean-Philippe Lang
Allows project to be changed from the regular issue update action (#4769, #9803)....
r8411 <% if @issue.safe_attribute?('category_id') && @issue.project.issue_categories.any? %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p><%= f.select :category_id, (@issue.project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true, :required => @issue.required_attribute?('category_id') %>
Jean-Philippe Lang
Removes calls to link_to_remote....
r9846 <%= link_to(image_tag('add.png', :style => 'vertical-align: middle;'),
new_project_issue_category_path(@issue.project),
:remote => true,
:method => 'get',
:title => l(:label_issue_category_new),
:tabindex => 200) if User.current.allowed_to?(:manage_categories, @issue.project) %></p>
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <% end %>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107
<% if @issue.safe_attribute?('fixed_version_id') && @issue.assignable_versions.any? %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p><%= f.select :fixed_version_id, version_options_for_select(@issue.assignable_versions, @issue.fixed_version), :include_blank => true, :required => @issue.required_attribute?('fixed_version_id') %>
Jean-Philippe Lang
Removes calls to link_to_remote....
r9846 <%= link_to(image_tag('add.png', :style => 'vertical-align: middle;'),
new_project_version_path(@issue.project),
:remote => true,
:method => 'get',
:title => l(:label_version_new),
:tabindex => 200) if User.current.allowed_to?(:manage_versions, @issue.project) %>
Jean-Philippe Lang
Ability to add a new version from the issue form (#4315)....
r3012 </p>
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <% end %>
</div>
<div class="splitcontentright">
Jean-Philippe Lang
Code cleanup....
r8080 <% if @issue.safe_attribute? 'parent_issue_id' %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p id="parent_issue"><%= f.text_field :parent_issue_id, :size => 10, :required => @issue.required_attribute?('parent_issue_id') %></p>
Jean-Philippe Lang
Adds a setting to allow subtasks to belong to other projects (#5487)....
r10376 <%= javascript_tag "observeAutocompleteField('issue_parent_issue_id', '#{escape_javascript auto_complete_issues_path}')" %>
Jean-Philippe Lang
Moved the parent issue field above start/due date fields....
r5298 <% end %>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107
<% if @issue.safe_attribute? 'start_date' %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p><%= f.text_field :start_date, :size => 10, :disabled => !@issue.leaf?, :required => @issue.required_attribute?('start_date') %><%= calendar_for('issue_start_date') if @issue.leaf? %></p>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% end %>
<% if @issue.safe_attribute? 'due_date' %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p><%= f.text_field :due_date, :size => 10, :disabled => !@issue.leaf?, :required => @issue.required_attribute?('due_date') %><%= calendar_for('issue_due_date') if @issue.leaf? %></p>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% end %>
<% if @issue.safe_attribute? 'estimated_hours' %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p><%= f.text_field :estimated_hours, :size => 3, :disabled => !@issue.leaf?, :required => @issue.required_attribute?('estimated_hours') %> <%= l(:field_hours) %></p>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% end %>
<% if @issue.safe_attribute?('done_ratio') && @issue.leaf? && Issue.use_field_for_done_ratio? %>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }), :required => @issue.required_attribute?('done_ratio') %></p>
Eric Davis
Adds a Setting to control how an Issue's done_ratio is calculated:...
r3037 <% end %>
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 </div>
Jean-Philippe Lang
Removed "clear:both" divs that break the issue form with long sidebar content....
r8738 </div>
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% if @issue.safe_attribute? 'custom_field_values' %>
Eric Davis
Use the full path to the partials...
r3975 <%= render :partial => 'issues/form_custom_fields' %>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% end %>
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994
<% end %>
Jean-Philippe Lang
Ability to disable standard fields on a per tracker basis (#1091)....
r9729
<% include_calendar_headers_tags %>