From ef68cda94702c40a9d3789a696dd22fc159da890 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Thu, 2 Sep 2010 21:10:20 +0200 Subject: [PATCH] Add scm.css to news pages to allow proper syntax highlighting --- app/views/news/edit.rhtml | 4 ++++ app/views/news/index.rhtml | 1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/app/views/news/edit.rhtml b/app/views/news/edit.rhtml index 4be566e..04d64df 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 8b7cc66..41e8bb3 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)) -%> -- 1.7.2.1