Defect #41873 » fix-td-layout-shared-version-padding.diff
app/assets/stylesheets/application.css | ||
---|---|---|
428 | 428 |
#replies h4 img.gravatar {margin-left:-32px;} |
429 | 429 | |
430 | 430 |
tr.version.closed, tr.version.closed a { color: #999; } |
431 |
tr.version td.name:not(.icon-shared) { padding-left: 20px; }
|
|
431 |
tr.version:not(.shared) td.name { padding-left: 20px; }
|
|
432 | 432 |
tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; } |
433 | 433 | |
434 | 434 |
tr.member td.icon-user, #principals_for_new_member .icon-user {background:transparent;} |
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? %>"> |
|
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' 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> |