Commit 887a10ac authored by Felix Schäfer's avatar Felix Schäfer

Merge branch 'f/149-hide_file_upload_section'

parents 10d6a79c 47e498f3
......@@ -36,8 +36,12 @@
<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %>
<%= wikitoolbar_for 'notes' %>
<%= call_hook(:view_issues_edit_notes_bottom, { :issue => @issue, :notes => @notes, :form => f }) %>
</fieldset>
<p><%=l(:label_attachment_plural)%><br /><%= render :partial => 'attachments/form' %></p>
<fieldset id="attachments" class="collapsible collapsed borders"><legend onclick="toggleFieldset(this);"><%=l(:label_attachment_plural)%></legend>
<div style="display: none;">
<%= render :partial => 'attachments/form' %>
</div>
</fieldset>
</div>
......
......@@ -279,6 +279,8 @@ div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
#issue_tree td.checkbox {display:none;}
fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
fieldset.collapsible.borders { border-width: 1px; }
fieldset.collapsible.collapsed.borders { border-width: 1px 0 0 0; }
fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
......@@ -427,6 +429,7 @@ fieldset.settings label { display: block; }
.required {color: #bb0000;}
.summary {font-style: italic;}
#attachments {font-size: 1em; }
#attachments_fields input[type=text] {margin-left: 8px; }
div.attachments { margin-top: 12px; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment