Sha256: 8e75c63eef0ab1cf9ee80e56f6cff7c9b36418d6fbe909aedab1c0086ffe8a70
Contents?: true
Size: 1.52 KB
Versions: 13
Compression:
Stored size: 1.52 KB
Contents
<%- model_class = Issue -%> <div class="page-header"> <h1><%=t '.title', :default => model_class.model_name.human.titleize %></h1> </div> <dl class="dl-horizontal"> <dt><strong><%= model_class.human_attribute_name(:project_id) %>:</strong></dt> <dd><%= @issue.project.name %></dd> <dt><strong><%= model_class.human_attribute_name(:title) %>:</strong></dt> <dd><%= @issue.title %></dd> <dt><strong><%= model_class.human_attribute_name(:status) %>:</strong></dt> <dd><%= @issue.status_text %></dd> <dt><strong><%= model_class.human_attribute_name(:creator_id) %>:</strong></dt> <dd><%= @issue.creator.email %></dd> <dt><strong><%= model_class.human_attribute_name(:assignee_id) %>:</strong></dt> <dd><%= @issue.assignee.try(:email) %></dd> <dt><strong><%= model_class.human_attribute_name(:created_at) %>:</strong></dt> <dd><%=l @issue.created_at %></dd> <dt><strong><%= model_class.human_attribute_name(:updated_at) %>:</strong></dt> <dd><%=l @issue.updated_at %></dd> </dl> <%= link_to t('.back', :default => t("helpers.links.back")), issues_path, :class => 'btn btn-default' %> <%= link_to t('.edit', :default => t("helpers.links.edit")), edit_issue_path(@issue), :class => 'btn btn-default' %> <%= 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-danger' %>
Version data entries
13 entries across 12 versions & 1 rubygems