##// END OF EJS Templates
Removed the "more" link to edit additional properties of an issue (#7603)....
Jean-Philippe Lang -
r7982:9333853f23fc
parent child
Show More
@@ -2,11 +2,7
2 2 <%= error_messages_for 'issue', 'time_entry' %>
3 3 <div class="box">
4 4 <% if @edit_allowed || !@allowed_statuses.empty? %>
5 <fieldset class="tabular"><legend><%= l(:label_change_properties) %>
6 <% if !@issue.new_record? && !@issue.errors.any? && @edit_allowed %>
7 <small>(<%= link_to l(:label_more), {}, :onclick => 'Effect.toggle("issue_descr_fields", "appear", {duration:0.3}); return false;' %>)</small>
8 <% end %>
9 </legend>
5 <fieldset class="tabular"><legend><%= l(:label_change_properties) %></legend>
10 6 <%= render :partial => (@edit_allowed ? 'form' : 'form_update'), :locals => {:f => f} %>
11 7 </fieldset>
12 8 <% end %>
@@ -1,6 +1,5
1 1 <%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %>
2 2
3 <div id="issue_descr_fields" <%= 'style="display:none"' unless @issue.new_record? || @issue.errors.any? %>>
4 3 <% if @issue.safe_attribute_names.include?('is_private') %>
5 4 <p style="float:right; margin-right:1em;">
6 5 <label class="inline" for="issue_is_private" id="issue_is_private_label"><%= f.check_box :is_private, :no_label => true %> <%= l(:field_is_private) %></label>
@@ -12,12 +11,19
12 11 :with => "Form.serialize('issue-form')" %>
13 12
14 13 <p><%= f.text_field :subject, :size => 80, :required => true %></p>
15 <p><%= f.text_area :description,
14 <p>
15 <label><%= l(:field_description) %></label>
16 <%= link_to_function image_tag('edit.png'),
17 'Element.hide(this); Effect.toggle("issue_description_and_toolbar", "appear", {duration:0.3})' unless @issue.new_record? %>
18 <% content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %>
19 <%= f.text_area :description,
16 20 :cols => 60,
17 21 :rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
18 22 :accesskey => accesskey(:edit),
19 :class => 'wiki-edit' %></p>
20 </div>
23 :class => 'wiki-edit',
24 :no_label => true %>
25 <% end %>
26 </p>
21 27
22 28 <div id="attributes" class="attributes">
23 29 <%= render :partial => 'issues/attributes' %>
@@ -405,7 +405,7 p.pagination {margin-top:8px;}
405 405 margin: 0;
406 406 padding: 3px 0 3px 0;
407 407 padding-left: 180px; /* width of left column containing the label elements */
408 height: 1%;
408 min-height: 1.8em;
409 409 clear:left;
410 410 }
411 411
General Comments 0
You need to be logged in to leave comments. Login now