From af734b1b38e9e8534e02f2859f9cc53d6b385de6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 18 Jun 2008 16:49:40 +0000 Subject: [PATCH] Enable syntax highlight on issues, messages and news (#1473, #1466). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1562 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/show.rhtml | 1 + app/views/messages/show.rhtml | 4 ++++ app/views/news/show.rhtml | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index f1c8a82c..04463709 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -116,4 +116,5 @@ end %> <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@issue.project} - #{@issue.tracker} ##{@issue.id}: #{@issue.subject}") %> + <%= stylesheet_link_tag 'scm' %> <% end %> diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml index c04c4093..07508fbf 100644 --- a/app/views/messages/show.rhtml +++ b/app/views/messages/show.rhtml @@ -50,3 +50,7 @@
<% end %> + +<% content_for :header_tags do %> + <%= stylesheet_link_tag 'scm' %> +<% end %> diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml index a55b56f0..cc9fe1fb 100644 --- a/app/views/news/show.rhtml +++ b/app/views/news/show.rhtml @@ -55,3 +55,7 @@ <% end %> <% html_title @news.title -%> + +<% content_for :header_tags do %> + <%= stylesheet_link_tag 'scm' %> +<% end %>