diff options
-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> |