Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
Add Comment
Please, Sign In to add comment