summaryrefslogtreecommitdiffstats
path: root/app/views/boards
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-09-05 20:35:12 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-09-05 20:35:12 +0000
commit7aeebede74fcd5e8ff1f74c09d6fda7d8473896d (patch)
treef830a0fac9c87b3da05c7f5022b7b18dedcb9df2 /app/views/boards
parent59323aecf29885a3a043d94d18106626dc6c216e (diff)
downloadredmine-7aeebede74fcd5e8ff1f74c09d6fda7d8473896d.tar.gz
redmine-7aeebede74fcd5e8ff1f74c09d6fda7d8473896d.zip
Replaces more icons with SVG icongs (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23021 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/boards')
-rw-r--r--app/views/boards/index.html.erb2
-rw-r--r--app/views/boards/show.html.erb6
2 files changed, 6 insertions, 2 deletions
diff --git a/app/views/boards/index.html.erb b/app/views/boards/index.html.erb
index e20c8f641..ee43b3427 100644
--- a/app/views/boards/index.html.erb
+++ b/app/views/boards/index.html.erb
@@ -21,7 +21,7 @@
<tr class="board">
<% end %>
<td class="name">
- <%= link_to board.name, project_board_path(board.project, board), :class => "board" %>
+ <%= link_to icon_with_label('comment', board.name), project_board_path(board.project, board), :class => "board icon icon-comment" %>
<p class="description"><%= board.description %></p>
</td>
<td class="topic-count"><%= board.topics_count %></td>
diff --git a/app/views/boards/show.html.erb b/app/views/boards/show.html.erb
index 96d6490c1..617c7807f 100644
--- a/app/views/boards/show.html.erb
+++ b/app/views/boards/show.html.erb
@@ -38,7 +38,11 @@
<tbody>
<% @topics.each do |topic| %>
<tr id="message-<%= topic.id %>" class="message <%= topic.sticky? ? 'sticky' : '' %> <%= topic.locked? ? 'locked' : '' %>">
- <td class="subject icon <%= 'icon-sticky' if topic.sticky? %> <%= 'icon-locked' if topic.locked? %>"><%= link_to topic.subject, board_message_path(@board, topic) %></td>
+ <td class="subject icon <%= 'icon-sticky' if topic.sticky? %> <%= 'icon-locked' if topic.locked? %>">
+ <%= sprite_icon "arrow-right" if topic.sticky? %>
+ <%= sprite_icon "lock" if topic.locked? %>
+ <%= link_to topic.subject, board_message_path(@board, topic) %>
+ </td>
<td class="author"><%= link_to_user(topic.author) %></td>
<td class="created_on"><%= format_time(topic.created_on) %></td>
<td class="reply-count"><%= topic.replies_count %></td>