summaryrefslogtreecommitdiffstats
path: root/app/views/projects/settings/_versions.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-11-28 09:01:49 +0000
committerGo MAEDA <maeda@farend.jp>2024-11-28 09:01:49 +0000
commitfe976455b448e1ebb19ed012bf8b3dabcb3d2676 (patch)
tree505a26b96ff57da760be7ae9b70877b965ae41a7 /app/views/projects/settings/_versions.html.erb
parent5e9b2e9d9214394586ae024e38e4458006dbc711 (diff)
downloadredmine-fe976455b448e1ebb19ed012bf8b3dabcb3d2676.tar.gz
redmine-fe976455b448e1ebb19ed012bf8b3dabcb3d2676.zip
Table layout breaks due to .icon class on td elements (#41873).
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23317 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/settings/_versions.html.erb')
-rw-r--r--app/views/projects/settings/_versions.html.erb8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/projects/settings/_versions.html.erb b/app/views/projects/settings/_versions.html.erb
index 5af6a1f4b..3894d4bd0 100644
--- a/app/views/projects/settings/_versions.html.erb
+++ b/app/views/projects/settings/_versions.html.erb
@@ -35,9 +35,11 @@
<% @versions.each do |version| %>
<tr class="version <%=h version.status %> <%= 'shared' if version.project != @project %>">
<% is_shared = version.project != @project %>
- <td class="name <%= 'icon icon-shared' if is_shared %>">
- <%= sprite_icon('link') if is_shared %>
- <%= link_to_version version %>
+ <td class="name">
+ <span class="<%= 'icon' if is_shared %>">
+ <%= sprite_icon('link') if is_shared %>
+ <%= link_to_version version %>
+ </span>
</td>
<td class="tick"><%= checked_image(version.id == @project.default_version_id) %></td>
<td class="date"><%= format_date(version.effective_date) %></td>