summaryrefslogtreecommitdiffstats
path: root/app/views/issues/show.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-16 21:11:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-16 21:11:37 +0000
commit02c2a8349472928408ad8dda779362f2f1f3c1aa (patch)
treeabc6b4f669c2b06fc2700111246ff9df4e26c3f3 /app/views/issues/show.rhtml
parent7cea286c2344ee20560437c4a785bf2ce2b9091f (diff)
downloadredmine-02c2a8349472928408ad8dda779362f2f1f3c1aa.tar.gz
redmine-02c2a8349472928408ad8dda779362f2f1f3c1aa.zip
Adds a helper that returns issues css classes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2139 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/show.rhtml')
-rw-r--r--app/views/issues/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml
index 5c174e05b..d5babe331 100644
--- a/app/views/issues/show.rhtml
+++ b/app/views/issues/show.rhtml
@@ -9,7 +9,7 @@
<h2><%= @issue.tracker.name %> #<%= @issue.id %></h2>
-<div class="issue <%= "status-#{@issue.status.position} priority-#{@issue.priority.position}" %>">
+<div class="<%= css_issue_classes(@issue) %>">
<%= avatar(@issue.author, :size => "64") %>
<h3><%=h @issue.subject %></h3>
<p class="author">