|
|
@ -40,14 +40,12 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
|
|
|
|
|
|
|
<% if edit_allowed || !allowed_statuses.empty? %> |
|
|
|
<% if edit_allowed || !allowed_statuses.empty? %> |
|
|
|
<fieldset class="tabular"> |
|
|
|
<fieldset class="tabular"> |
|
|
|
<legend> |
|
|
|
<legend class="change_properties"> |
|
|
|
<%= l(:label_change_properties) %> |
|
|
|
<%= l(:label_change_properties) %> |
|
|
|
<% if !work_package.new_record? && !work_package.errors.any? && edit_allowed %> |
|
|
|
|
|
|
|
<small> |
|
|
|
|
|
|
|
(<%= link_to l(:label_more), {}, :onclick => 'Effect.toggle("work_package_descr_fields", "appear", {duration:0.3}); enable_textarea_auto_completion(jQuery("#work_package_description")); return false;' %>) |
|
|
|
|
|
|
|
</small> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
</legend> |
|
|
|
</legend> |
|
|
|
|
|
|
|
<% if !work_package.new_record? && !work_package.errors.any? && edit_allowed %> |
|
|
|
|
|
|
|
<%= link_to icon_wrapper('icon icon-arrow-right6-3', l(:label_more)), {}, :title => l(:label_more), :class => 'no-decoration-on-hover', :id => 'show_more_wp_properties' %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
<% edit_form = (edit_allowed ? 'form' : 'form_update') %> |
|
|
|
<% edit_form = (edit_allowed ? 'form' : 'form_update') %> |
|
|
|
<%= render :partial => edit_form, |
|
|
|
<%= render :partial => edit_form, |
|
|
|