##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r15048:a6828512c02b
r15119:53710d80fc88
Show More
_form.html.erb
56 lines | 2.4 KiB | text/plain | TextLexer
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= labelled_fields_for :issue, @issue do |f| %>
Eric Davis
Add view_issues_form_details_top hook...
r4051 <%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %>
Jean-Philippe Lang
Set default project version after selecting a different project on the new issue form (#1828)....
r14406 <%= hidden_field_tag 'form_update_triggered_by', '' %>
Eric Davis
Add view_issues_form_details_top hook...
r4051
Jean-Philippe Lang
Code cleanup....
r8080 <% if @issue.safe_attribute? 'is_private' %>
Jean-Philippe Lang
Move inline CSS to application.css for private checkbox (#21076)....
r14372 <p id="issue_is_private_wrap">
Jean-Philippe Lang
html5 compliance....
r9929 <%= f.check_box :is_private, :no_label => true %><label class="inline" for="issue_is_private" id="issue_is_private_label"><%= l(:field_is_private) %></label>
Jean-Philippe Lang
Private issues (#7414)....
r5346 </p>
<% end %>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107
Jean-Philippe Lang
Implements /issues/new form for creating issues outside a project (#1003)....
r13617 <% if @issue.safe_attribute?('project_id') && (!@issue.new_record? || @project.nil? || @issue.copy?) %>
Jean-Philippe Lang
JQuery in, Prototype/Scriptaculous out (#11445)....
r9885 <p><%= f.select :project_id, project_tree_options_for_select(@issue.allowed_target_projects, :selected => @issue.project), {:required => true},
Jean-Philippe Lang
Set default project version after selecting a different project on the new issue form (#1828)....
r14406 :onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)" %></p>
Jean-Philippe Lang
Allows project to be changed from the regular issue update action (#4769, #9803)....
r8411 <% end %>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% if @issue.safe_attribute? 'tracker_id' %>
Jean-Philippe Lang
Adds Issue#allowed_target_trackers (#7839)....
r15048 <p><%= f.select :tracker_id, trackers_options_for_select(@issue), {:required => true},
Jean-Philippe Lang
Set default project version after selecting a different project on the new issue form (#1828)....
r14406 :onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)" %></p>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% end %>
Jean-Philippe Lang
ProjectsController#add_issue moved to IssuesController#new....
r1066
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% if @issue.safe_attribute? 'subject' %>
Jean-Philippe Lang
Input fields restricted on length should have maxlength parameter set (#12833)....
r11003 <p><%= f.text_field :subject, :size => 80, :maxlength => 255, :required => true %></p>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <% end %>
<% if @issue.safe_attribute? 'description' %>
Jean-Philippe Lang
Removed the "more" link to edit additional properties of an issue (#7603)....
r7982 <p>
Jean-Philippe Lang
Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521)....
r9794 <%= f.label_for_field :description, :required => @issue.required_attribute?('description') %>
Jean-Philippe Lang
Optimize issue edit description link (#21085)....
r14371 <%= link_to_function content_tag(:span, l(:button_edit), :class => 'icon icon-edit'), '$(this).hide(); $("#issue_description_and_toolbar").show()' unless @issue.new_record? %>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %>
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/_form.html.erb...
r8003 <%= f.text_area :description,
Jean-Philippe Lang
Issue properties below the description textarea....
r1083 :cols => 60,
:rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
:accesskey => accesskey(:edit),
Jean-Philippe Lang
Removed the "more" link to edit additional properties of an issue (#7603)....
r7982 :class => 'wiki-edit',
:no_label => true %>
<% end %>
</p>
Jean-Philippe Lang
Display issue form fields according to permissions....
r8107 <%= wikitoolbar_for 'issue_description' %>
<% end %>
Jean-Philippe Lang
Issue properties below the description textarea....
r1083
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <div id="attributes" class="attributes">
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/_form.html.erb...
r7236 <%= render :partial => 'issues/attributes' %>
Jean-Philippe Lang
Slight visual changes on the issue form....
r2267 </div>
Jean-Philippe Lang
Content of projects/add_issue.rhtml and issues/edit.rhtml moved to a shared partial....
r800
Jean-Philippe Lang
Merged hooks branch @ r1785 into trunk....
r1785 <%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
Jean-Philippe Lang
Allows project to be changed from the regular issue update action (#4769, #9803)....
r8411 <% end %>
Jean-Philippe Lang
Always load formatter scripts for when the description is read-only on page load (#16161)....
r12666
<% heads_for_wiki_formatter %>
Jean-Philippe Lang
Select proper tracker and status for when hitting F5 with browsers that preserve select values on reload, eg. Firefox (#16259)....
r12695
<%= javascript_tag do %>
$(document).ready(function(){
$("#issue_tracker_id, #issue_status_id").each(function(){
$(this).val($(this).find("option[selected=selected]").val());
});
});
<% end %>