summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-27 21:24:24 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-27 21:24:24 +0000
commit580e2f669a5d71435daf8e3a1060fbd69758289b (patch)
treea4d96102cbbd8aefdb02fd7419c7e652d9cfc5b1 /app
parent5b29b2b5d1c19181c9887beba4dee600f4a3aadf (diff)
downloadredmine-580e2f669a5d71435daf8e3a1060fbd69758289b.tar.gz
redmine-580e2f669a5d71435daf8e3a1060fbd69758289b.zip
Use the regular "icon icon-*" classes for collapsible fields (#31433).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18204 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/queries/_query_form.html.erb4
-rw-r--r--app/views/versions/index.html.erb4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/queries/_query_form.html.erb b/app/views/queries/_query_form.html.erb
index 9ca432b62..c8be6b771 100644
--- a/app/views/queries/_query_form.html.erb
+++ b/app/views/queries/_query_form.html.erb
@@ -5,14 +5,14 @@
<div id="query_form_with_buttons" class="hide-when-print">
<div id="query_form_content">
<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
- <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
+ <legend onclick="toggleFieldset(this);" class="icon icon-<%= @query.new_record? ? "expended" : "collapsed" %>"><%= l(:label_filter_plural) %></legend>
<div style="<%= @query.new_record? ? "" : "display: none;" %>">
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</div>
</fieldset>
<fieldset id="options" class="collapsible collapsed">
- <legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
+ <legend onclick="toggleFieldset(this);" class="icon icon-collapsed"><%= l(:label_options) %></legend>
<div style="display: none;">
<table>
<tr>
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb
index c0b2f9dbe..44e255929 100644
--- a/app/views/versions/index.html.erb
+++ b/app/views/versions/index.html.erb
@@ -89,8 +89,8 @@
<% if @completed_versions.present? %>
<p>
<%= link_to_function l(:label_completed_versions),
- '$("#toggle-completed-versions").toggleClass("collapsed"); $("#completed-versions").toggle()',
- :id => 'toggle-completed-versions', :class => 'collapsible collapsed' %>
+ '$("#toggle-completed-versions").toggleClass("icon-collapsed icon-expended"); $("#completed-versions").toggle()',
+ :id => 'toggle-completed-versions', :class => 'icon icon-collapsed collapsible' %>
<ul id = "completed-versions" style = "display:none;">
<% @completed_versions.each do |version| %>
<li><%= link_to_version version %></li>