Created
November 16, 2009 21:16
-
-
Save mileszs/236318 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h1>MIS Tasks</h1> | |
| <p>The following are features scheduled to be implemented, not including bugs, nor features placed on the back-burner.</p> | |
| <p> | |
| <% @labels.each do |l| -%> | |
| <%= link_to l, "##{l}", :id => "#{l}", :class => "labels" %> | |
| <% end -%> | |
| </p> | |
| <table class="tbl"> | |
| <thead> | |
| <tr> | |
| <th class="ticketNumber">#</th> | |
| <th>Name</th> | |
| <th class="customer">Labels</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <% | |
| row_class = 'odd' | |
| @stories.each_with_index do |story, i| | |
| %> | |
| <tr class="mistasks <%= row_class %> <%= story.labels.gsub(',', ' ') unless story.labels.nil? %>"> | |
| <td class="ticketNumber"><%= h(i+1) %></td> | |
| <td><%= h(story.name) %></td> | |
| <td class="customer"><%= h(story.labels) %></td> | |
| </tr> | |
| <% | |
| if row_class == "odd" | |
| row_class = "even" | |
| else | |
| row_class = "odd" | |
| end | |
| end | |
| %> | |
| </tbody> | |
| </table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment