<%=l(:field_status)%> : | <%= @issue.status.name %> | <%=l(:field_priority)%> : | <%= @issue.priority.name %> |
<%=l(:field_author)%> : | <%= link_to_user @issue.author %> | <%=l(:field_category)%> : | <%= @issue.category ? @issue.category.name : "-" %> |
<%=l(:field_created_on)%> : | <%= format_date(@issue.created_on) %> | <%=l(:field_assigned_to)%> : | <%= @issue.assigned_to ? @issue.assigned_to.name : "-" %> |
<%=l(:field_updated_on)%> : | <%= format_date(@issue.updated_on) %> | <%=l(:field_due_date)%> : | <%= format_date(@issue.due_date) %> |
<%= custom_value.custom_field.name %> : | <%= show_value custom_value %> | <% n = n + 1 if (n > 1) n = 0 %>||
<% if authorize_for('issues', 'edit') %> <%= start_form_tag ({:controller => 'issues', :action => 'edit', :id => @issue}, :method => "get" ) %> <%= submit_tag l(:button_edit) %> <%= end_form_tag %> <% end %> <% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %> <%= start_form_tag ({:controller => 'issues', :action => 'change_status', :id => @issue}) %> <%=l(:label_change_status)%> : <%= submit_tag l(:button_change) %> <%= end_form_tag %> <% end %> <% if authorize_for('projects', 'move_issues') %> <%= start_form_tag ({:controller => 'projects', :action => 'move_issues', :id => @project} ) %> <%= hidden_field_tag "issue_ids[]", @issue.id %> <%= submit_tag l(:button_move) %> <%= end_form_tag %> <% end %> <% if authorize_for('issues', 'destroy') %> <%= start_form_tag ({:controller => 'issues', :action => 'destroy', :id => @issue} ) %> <%= submit_tag l(:button_delete) %> <%= end_form_tag %> <% end %>
<%= format_date(history.created_on) %> | <%= history.author.display_name %> | <%= history.status.name %> |
<%= simple_format auto_link history.notes %> |
<%= link_to attachment.filename, :action => 'download', :id => @issue, :attachment_id => attachment %> (<%= human_size(attachment.filesize) %>) | <%= format_date(attachment.created_on) %> | <%= attachment.author.display_name %> | <% if authorize_for('issues', 'destroy_attachment') %><%= start_form_tag :action => 'destroy_attachment', :id => @issue, :attachment_id => attachment %> <%= submit_tag l(:button_delete), :class => "button-small" %> <%= end_form_tag %> | <% end %>
<%= file_field_tag 'attachments[]', :size => 30 %>
<%= submit_tag l(:button_add) %> <%= end_form_tag %> <% end %><%= text_area 'history', 'notes', :cols => 60, :rows => 10 %>
<%= submit_tag l(:button_add) %> <%= end_form_tag %>