From: Eric Davis Date: Mon, 20 Sep 2010 02:55:37 +0000 (+0000) Subject: Add scm.css to news pages to allow proper syntax highlighting. #6270 X-Git-Tag: 1.1.0~351 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a4f5e87f2839fa2260deefd4d9a5c992ef860fe;p=redmine.git Add scm.css to news pages to allow proper syntax highlighting. #6270 Contributed by Holger Just. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4107 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/news/edit.rhtml b/app/views/news/edit.rhtml index 4be566e0b..04d64df1f 100644 --- a/app/views/news/edit.rhtml +++ b/app/views/news/edit.rhtml @@ -12,3 +12,7 @@ }, :accesskey => accesskey(:preview) %> <% end %>
+ +<% content_for :header_tags do %> + <%= stylesheet_link_tag 'scm' %> +<% end %> diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml index 8b7cc66e1..41e8bb355 100644 --- a/app/views/news/index.rhtml +++ b/app/views/news/index.rhtml @@ -45,6 +45,7 @@ <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> + <%= stylesheet_link_tag 'scm' %> <% end %> <% html_title(l(:label_news_plural)) -%>