Defect #41873 » fix-td-layout.diff
app/views/boards/show.html.erb | ||
---|---|---|
38 | 38 |
<tbody> |
39 | 39 |
<% @topics.each do |topic| %> |
40 | 40 |
<tr id="message-<%= topic.id %>" class="message <%= topic.sticky? ? 'sticky' : '' %> <%= topic.locked? ? 'locked' : '' %>"> |
41 |
<td class="subject icon <%= 'icon-sticky' if topic.sticky? %> <%= 'icon-locked' if topic.locked? %>"> |
|
42 |
<%= sprite_icon "arrow-right" if topic.sticky? %> |
|
43 |
<%= sprite_icon "lock" if topic.locked? %> |
|
44 |
<%= link_to topic.subject, board_message_path(@board, topic) %> |
|
41 |
<td class="subject"> |
|
42 |
<span class="<%= 'icon' if topic.sticky? || topic.locked? %> <%= 'icon-sticky' if topic.sticky? %> <%= 'icon-locked' if topic.locked? %>"> |
|
43 |
<%= sprite_icon "arrow-right" if topic.sticky? %> |
|
44 |
<%= sprite_icon "lock" if topic.locked? %> |
|
45 |
<%= link_to topic.subject, board_message_path(@board, topic) %> |
|
46 |
</span> |
|
45 | 47 |
</td> |
46 | 48 |
<td class="author"><%= link_to_user(topic.author) %></td> |
47 | 49 |
<td class="created_on"><%= format_time(topic.created_on) %></td> |
app/views/projects/settings/_versions.html.erb | ||
---|---|---|
35 | 35 |
<% @versions.each do |version| %> |
36 | 36 |
<tr class="version <%=h version.status %> <%= 'shared' if version.project != @project %>"> |
37 | 37 |
<% is_shared = version.project != @project %> |
38 |
<td class="name <%= 'icon icon-shared' if is_shared %>"> |
|
39 |
<%= sprite_icon('link') if is_shared %> |
|
40 |
<%= link_to_version version %> |
|
38 |
<td class="name"> |
|
39 |
<span class="<%= 'icon icon-shared' if is_shared %>"> |
|
40 |
<%= sprite_icon('link') if is_shared %> |
|
41 |
<%= link_to_version version %> |
|
42 |
</span> |
|
41 | 43 |
</td> |
42 | 44 |
<td class="tick"><%= checked_image(version.id == @project.default_version_id) %></td> |
43 | 45 |
<td class="date"><%= format_date(version.effective_date) %></td> |