]> source.dussan.org Git - redmine.git/commitdiff
Colored square added on "my page" issue list
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Apr 2007 20:24:02 +0000 (20:24 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Apr 2007 20:24:02 +0000 (20:24 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@405 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_list_simple.rhtml

index 0e3c39bbf7ae7e1ae780fb8fdf6853be9141654b..4e50b91f857ac433b4a5f84c74bcb85f3ac14e55 100644 (file)
@@ -11,7 +11,7 @@
                        <th align="center">
                                <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %>
                        </th>
-                       <td><p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
+                       <td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <p class="small"><%= issue.project.name %> - <%= issue.tracker.name %><br />
                 <%= issue.status.name %> - <%= format_time(issue.updated_on) %></p></td>
                        <td>
                 <p class="small"><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></p>