Created
July 3, 2014 23:58
-
-
Save wethu/fd260b231ab3ad79695a 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
| <table class="table"> | |
| <th width="20%">Time/Date Created</th> | |
| <th width="80%">Client/Product</th> | |
| <% @jobs.each do |job| %> | |
| <% present job do |job_presenter| %> | |
| <% job_presenter.check_status %> | |
| <tr> | |
| <td><%= job_presenter.date_time_graphic %></td> | |
| <!-- <td> --> | |
| <%= content_tag :td, :class => job_presenter.job_status do %> | |
| <div class="client"> | |
| <%= link_to job.client.business_name, client_path(job.client) %> | |
| <%= job_presenter.job_controls %> | |
| </div> | |
| <div class="product"> | |
| <%= link_to job_presenter.product, job_path(job) %> | |
| <%= job_presenter.job_updated? %> | |
| </div> | |
| <div class="missing-details"> | |
| <%= job_presenter.missing_details %> | |
| </div> | |
| <% end %> | |
| <!-- </td> --> | |
| </tr> | |
| <% end %> | |
| <% end %> | |
| </table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment