summaryrefslogtreecommitdiffstats
path: root/app/views/common
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-14 13:22:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-14 13:22:50 +0000
commitad487bf7cc4bd00d2e10b1dafe0e314b99598d7f (patch)
treee93a204beb18d3e1f88f5738963806911f49604a /app/views/common
parentc03b4c2e1e88f4fd1257d9519144905f08718dcd (diff)
downloadredmine-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/views/common')
-rw-r--r--app/views/common/_diff.rhtml4
-rw-r--r--app/views/common/_file.rhtml2
2 files changed, 3 insertions, 3 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| %>