From 58f5d3ab098bd46cdd3a786d9ef6516200683f11 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 20 Feb 2011 13:11:10 +0000 Subject: [PATCH] Fixed: Syntax highlighting unavailable from board new topic or topic edit preview (#7625). Contributed by Etienne Massip. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4889 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/boards/show.rhtml | 1 + app/views/messages/edit.rhtml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/views/boards/show.rhtml b/app/views/boards/show.rhtml index 23e453e38..c4a08b29b 100644 --- a/app/views/boards/show.rhtml +++ b/app/views/boards/show.rhtml @@ -69,4 +69,5 @@ <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@project}: #{@board}") %> + <%= stylesheet_link_tag 'scm' %> <% end %> diff --git a/app/views/messages/edit.rhtml b/app/views/messages/edit.rhtml index 56e708620..c22b62210 100644 --- a/app/views/messages/edit.rhtml +++ b/app/views/messages/edit.rhtml @@ -12,3 +12,7 @@ }, :accesskey => accesskey(:preview) %> <% end %>
+ +<% content_for :header_tags do %> + <%= stylesheet_link_tag 'scm' %> +<% end %> -- 2.39.5