mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 05:21:19 +00:00
b6956c89c0
Fixes admin links Fixes issue solution formatting
30 lines
666 B
Text
30 lines
666 B
Text
<h1>
|
|
Issue: <%= h @issue %> (created <%= @issue.created_at.strftime("%Y-%m-%d %H:%M:%S") %>)
|
|
</h1>
|
|
|
|
<h3><%= link_to "Back to the list of issues", issues_path %></h3>
|
|
|
|
<div class="wide box">
|
|
<%= cascade @issue, [:author, :assigned, :category, "status_s"] %>
|
|
|
|
<p>
|
|
<% if @issue.can_update? cuser%>
|
|
<%= link_to 'Edit', edit_issue_path(@issue) %> |
|
|
<% end %>
|
|
<%= link_to 'Back', issues_path %>
|
|
</p>
|
|
|
|
<h3>
|
|
Issue details:
|
|
</h3>
|
|
<%= raw @issue.text_parsed %>
|
|
|
|
<% if @issue.solution and !@issue.solution.empty? %>
|
|
<h3>
|
|
Solution:
|
|
</h3>
|
|
<%= raw @issue.solution_formatted %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%= add_comments @issue %>
|