diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-18 16:49:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-18 16:49:40 +0000 |
commit | af734b1b38e9e8534e02f2859f9cc53d6b385de6 (patch) | |
tree | 6e6d949443ce204450ac5304fd786c0c0a2cb21d | |
parent | 7d143bc3f7394f0af2d95b1e3ce3a6db282516cb (diff) | |
download | redmine-af734b1b38e9e8534e02f2859f9cc53d6b385de6.tar.gz redmine-af734b1b38e9e8534e02f2859f9cc53d6b385de6.zip |
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
-rw-r--r-- | app/views/issues/show.rhtml | 1 | ||||
-rw-r--r-- | app/views/messages/show.rhtml | 4 | ||||
-rw-r--r-- | app/views/news/show.rhtml | 4 |
3 files changed, 9 insertions, 0 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index f1c8a82cd..044637094 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 c04c40934..07508fbfd 100644 --- a/app/views/messages/show.rhtml +++ b/app/views/messages/show.rhtml @@ -50,3 +50,7 @@ <div id="preview" class="wiki"></div> </div> <% 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 a55b56f0b..cc9fe1fbb 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 %> |