Sha256: bdfd1a021ac3d7c0f3e05d0113dacb8c51cfa6d9f800ae2b098613729a5ffd63
Contents?: true
Size: 1.45 KB
Versions: 9
Compression:
Stored size: 1.45 KB
Contents
<%- model_class = Issue -%> <table class="table table-striped"> <thead> <tr> <th><%= model_class.human_attribute_name(:project_id) %></th> <th><%= model_class.human_attribute_name(:title) %></th> <th><%= model_class.human_attribute_name(:status) %></th> <th><%= model_class.human_attribute_name(:creator_id) %></th> <th><%= model_class.human_attribute_name(:assignee_id) %></th> <th><%= model_class.human_attribute_name(:created_at) %></th> <th><%=t '.actions', :default => t("helpers.actions") %></th> </tr> </thead> <tbody> <% issues.each do |issue| %> <tr> <td><%= issue.project.name %></td> <td><%= link_to issue.title, issue_path(issue) %></td> <td><%= issue.status_text %></td> <td><%= issue.creator.email %></td> <td><%= issue.assignee.try(:email) %></td> <td><%=l issue.created_at %></td> <td> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_issue_path(issue), :class => 'btn btn-default btn-xs' %> <%= link_to t('.destroy', :default => t("helpers.links.destroy")), issue_path(issue), :method => :delete, :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-xs btn-danger' %> </td> </tr> <% end %> </tbody> </table>
Version data entries
9 entries across 8 versions & 1 rubygems