From 7aeebede74fcd5e8ff1f74c09d6fda7d8473896d Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Thu, 5 Sep 2024 20:35:12 +0000 Subject: Replaces more icons with SVG icongs (#23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23021 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/boards/index.html.erb | 2 +- app/views/boards/show.html.erb | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'app/views/boards') 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 @@ <% end %> - <%= 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" %>

<%= board.description %>

<%= board.topics_count %> 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 @@ <% @topics.each do |topic| %> - <%= link_to topic.subject, board_message_path(@board, topic) %> + + <%= sprite_icon "arrow-right" if topic.sticky? %> + <%= sprite_icon "lock" if topic.locked? %> + <%= link_to topic.subject, board_message_path(@board, topic) %> + <%= link_to_user(topic.author) %> <%= format_time(topic.created_on) %> <%= topic.replies_count %> -- cgit v1.2.3