summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-30 07:35:46 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-30 07:35:46 +0000
commit53e2cf16bbacdda894ead120f755b147c7954ae0 (patch)
treee8f772554e5f1ea25866c669f1cedbd207e3334a /app
parent5a9485489fefab4462c85a32571a02ff87844cde (diff)
downloadredmine-53e2cf16bbacdda894ead120f755b147c7954ae0.tar.gz
redmine-53e2cf16bbacdda894ead120f755b147c7954ae0.zip
Use "icon icon-*" classes for expandable elements (#31433).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18209 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/_list.html.erb2
-rw-r--r--app/views/repositories/_dir_list_content.html.erb2
-rw-r--r--app/views/timelog/_list.html.erb2
-rw-r--r--app/views/trackers/fields.html.erb4
-rw-r--r--app/views/workflows/permissions.html.erb4
5 files changed, 7 insertions, 7 deletions
diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb
index 0c3062650..4a7163fdd 100644
--- a/app/views/issues/_list.html.erb
+++ b/app/views/issues/_list.html.erb
@@ -24,7 +24,7 @@
<% reset_cycle %>
<tr class="group open">
<td colspan="<%= query.inline_columns.size + 2 %>">
- <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
+ <span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
<span class="name"><%= group_name %></span> <span class="badge badge-count count"><%= group_count %></span> <span class="totals"><%= group_totals %></span>
<%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}",
"toggleAllRowGroups(this)", :class => 'toggle-all') %>
diff --git a/app/views/repositories/_dir_list_content.html.erb b/app/views/repositories/_dir_list_content.html.erb
index f78073b0c..ee68c1b7a 100644
--- a/app/views/repositories/_dir_list_content.html.erb
+++ b/app/views/repositories/_dir_list_content.html.erb
@@ -7,7 +7,7 @@
<td style="padding-left: <%=18 * depth%>px;" class="<%=
@repository.report_last_commit ? "filename" : "filename_no_report" %>">
<% if entry.is_dir? %>
-<span class="expander" onclick="scmEntryClick('<%= tr_id %>', '<%= escape_javascript(url_for(
+<span class="expander icon icon-collapsed" onclick="scmEntryClick('<%= tr_id %>', '<%= escape_javascript(url_for(
:action => 'show',
:id => @project,
:repository_id => @repository.identifier_param,
diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb
index 6bdd5b89a..b3146c28b 100644
--- a/app/views/timelog/_list.html.erb
+++ b/app/views/timelog/_list.html.erb
@@ -20,7 +20,7 @@
<% reset_cycle %>
<tr class="group open">
<td colspan="<%= @query.inline_columns.size + 2 %>">
- <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
+ <span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
<span class="name"><%= group_name %></span>
<% if group_count %>
<span class="badge badge-count count"><%= group_count %></span>
diff --git a/app/views/trackers/fields.html.erb b/app/views/trackers/fields.html.erb
index 8ba1c3ae4..a3705053b 100644
--- a/app/views/trackers/fields.html.erb
+++ b/app/views/trackers/fields.html.erb
@@ -20,7 +20,7 @@
<tbody>
<tr class="group open">
<td colspan="<%= @trackers.size + 1 %>">
- <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
+ <span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
<%= l(:field_core_fields) %>
</td>
</tr>
@@ -44,7 +44,7 @@
<% if @custom_fields.any? %>
<tr class="group open">
<td colspan="<%= @trackers.size + 1 %>">
- <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
+ <span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
<%= l(:label_custom_field_plural) %>
</td>
</tr>
diff --git a/app/views/workflows/permissions.html.erb b/app/views/workflows/permissions.html.erb
index 3a47560c9..0983bb740 100644
--- a/app/views/workflows/permissions.html.erb
+++ b/app/views/workflows/permissions.html.erb
@@ -55,7 +55,7 @@
<tbody>
<tr class="group open">
<td colspan="<%= @statuses.size + 1 %>">
- <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
+ <span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
<%= l(:field_core_fields) %>
</td>
</tr>
@@ -75,7 +75,7 @@
<% if @custom_fields.any? %>
<tr class="group open">
<td colspan="<%= @statuses.size + 1 %>">
- <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
+ <span class="expander icon icon-expended" onclick="toggleRowGroup(this);">&nbsp;</span>
<%= l(:label_custom_field_plural) %>
</td>
</tr>