diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-03-14 13:22:50 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-03-14 13:22:50 +0000 |
commit | ad487bf7cc4bd00d2e10b1dafe0e314b99598d7f (patch) | |
tree | e93a204beb18d3e1f88f5738963806911f49604a /app | |
parent | c03b4c2e1e88f4fd1257d9519144905f08718dcd (diff) | |
download | redmine-ad487bf7cc4bd00d2e10b1dafe0e314b99598d7f.tar.gz redmine-ad487bf7cc4bd00d2e10b1dafe0e314b99598d7f.zip |
Replace the hardcoded "CodeRay" css class name for highlighted elements.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3585 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/common/_diff.rhtml | 4 | ||||
-rw-r--r-- | app/views/common/_file.rhtml | 2 | ||||
-rw-r--r-- | app/views/repositories/annotate.rhtml | 2 | ||||
-rw-r--r-- | app/views/wiki/annotate.rhtml | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/app/views/common/_diff.rhtml b/app/views/common/_diff.rhtml index 104845b4d..546644ded 100644 --- a/app/views/common/_diff.rhtml +++ b/app/views/common/_diff.rhtml @@ -2,7 +2,7 @@ <% diff.each do |table_file| -%> <div class="autoscroll"> <% if diff_type == 'sbs' -%> -<table class="filecontent CodeRay"> +<table class="filecontent"> <thead> <tr><th colspan="4" class="filename"><%= table_file.file_name %></th></tr> </thead> @@ -29,7 +29,7 @@ </table> <% else -%> -<table class="filecontent CodeRay"> +<table class="filecontent syntaxhl"> <thead> <tr><th colspan="3" class="filename"><%= table_file.file_name %></th></tr> </thead> diff --git a/app/views/common/_file.rhtml b/app/views/common/_file.rhtml index 599a17377..13ad8bbda 100644 --- a/app/views/common/_file.rhtml +++ b/app/views/common/_file.rhtml @@ -1,5 +1,5 @@ <div class="autoscroll"> -<table class="filecontent CodeRay"> +<table class="filecontent syntaxhl"> <tbody> <% line_num = 1 %> <% syntax_highlight(filename, to_utf8(content)).each_line do |line| %> diff --git a/app/views/repositories/annotate.rhtml b/app/views/repositories/annotate.rhtml index fd4d63f3a..a18e9bbac 100644 --- a/app/views/repositories/annotate.rhtml +++ b/app/views/repositories/annotate.rhtml @@ -11,7 +11,7 @@ <% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %> <div class="autoscroll"> -<table class="filecontent annotate CodeRay"> +<table class="filecontent annotate syntaxhl"> <tbody> <% line_num = 1 %> <% syntax_highlight(@path, to_utf8(@annotate.content)).each_line do |line| %> diff --git a/app/views/wiki/annotate.rhtml b/app/views/wiki/annotate.rhtml index c27451606..c1264ccd7 100644 --- a/app/views/wiki/annotate.rhtml +++ b/app/views/wiki/annotate.rhtml @@ -12,7 +12,7 @@ <% colors = Hash.new {|k,v| k[v] = (k.size % 12) } %> -<table class="filecontent annotate CodeRay "> +<table class="filecontent annotate"> <tbody> <% line_num = 1 %> <% @annotate.lines.each do |line| -%> |