diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-09-03 05:35:14 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-09-03 05:35:14 +0000 |
commit | 7841e933d4389b9619dd96c38b1229e5a973f223 (patch) | |
tree | d249157340e7a05fac207216565c65418850038d | |
parent | f2639e9038c1d5f9ad2975cc3e246381e9c3ec72 (diff) | |
download | redmine-7841e933d4389b9619dd96c38b1229e5a973f223.tar.gz redmine-7841e933d4389b9619dd96c38b1229e5a973f223.zip |
Replaces news icon with SVG icon (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23012 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/assets/stylesheets/application.css | 2 | ||||
-rw-r--r-- | app/views/projects/show.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index c733662dc..389cca72c 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1736,7 +1736,7 @@ span.icon-label { .icon-workflows { background-image: url(/ticket_go.png); } .icon-custom-fields { background-image: url(/textfield.png); } .icon-plugins { background-image: url(/plugin.png); } -.icon-news { background-image: url(/news.png); } +.icon-news:not(:has(svg)) { background-image: url(/news.png); } .icon-issue-closed { background-image: url(/ticket_checked.png); } .icon-issue-note { background-image: url(/ticket_note.png); } .icon-changeset { background-image: url(/changeset.png); } diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index abb5ec23f..ed2f904ee 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -123,7 +123,7 @@ <div class="splitcontentright"> <% if @news.any? && authorize_for('news', 'index') %> <div class="news box"> - <h3 class="icon icon-news"><%=l(:label_news_latest)%></h3> + <h3 class="icon icon-news"><%= icon_with_label('news', l(:label_news_latest))%></h3> <%= render :partial => 'news/news', :collection => @news %> <p><%= link_to l(:label_news_view_all), project_news_index_path(@project) %></p> </div> |