2015-04-07 12:48:47 +08:00
|
|
|
|
<% issue_list(issues) do |issue, level| -%>
|
2014-12-18 09:33:26 +08:00
|
|
|
|
<% if @query.grouped? && (group = @query.group_by_column.value(issue)) != previous_group %>
|
2014-10-23 11:30:34 +08:00
|
|
|
|
<% reset_cycle %>
|
|
|
|
|
<% previous_group = group %>
|
2014-12-18 09:33:26 +08:00
|
|
|
|
<% end %>
|
2015-04-07 12:48:47 +08:00
|
|
|
|
<!-- CONTENT LIST -->
|
|
|
|
|
<div class="problem_main">
|
|
|
|
|
<!--< id="issue-<%#= issue.id %>" class="hascontextmenu-1 <%#= issue.css_classes %> <%#= level > 0 ? "idnt idnt-#{level}" : nil %>" >-->
|
|
|
|
|
<% column_content = ( query.inline_columns.map {|column| "#{column_content_new(column, issue)}"}) %>
|
|
|
|
|
<% unless issue.author.nil? || issue.author.name == "Anonymous" %>
|
|
|
|
|
<a class="problem_pic fl"><%= image_tag(url_to_avatar(issue.author), :width => "42", :height => "42") %></a>
|
|
|
|
|
<div class="problem_txt fl">
|
|
|
|
|
<%= link_to issue.author.name, user_path(issue.author), :class => "problem_name c_orange fl" %>
|
|
|
|
|
<span class="fl"><%= l(:label_post_on_issue) %>(<%= "#{raw column_content[2]}" %>):</span>
|
|
|
|
|
<%=link_to column_content[4], issue_path(issue.id), :class => "problem_tit fl" %><br />
|
|
|
|
|
<p><%= textilizable issue, :description %></p><br/>
|
|
|
|
|
<p>
|
|
|
|
|
<% unless issue.assigned_to_id.nil? %>
|
|
|
|
|
<%= l(:field_assigned_to) %>
|
|
|
|
|
<%=link_to issue.assigned_to(@user), user_path(issue.assigned_to(@user)), :class => "problem_name c_orange f1" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= l(:label_updated_time_on, format_date(issue.updated_on)).html_safe %>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="cl"></div>
|
2014-12-18 09:33:26 +08:00
|
|
|
|
</div>
|
2015-04-07 12:48:47 +08:00
|
|
|
|
<% end -%>
|