"><%= HtmlTextHelper.escape_html(item[:title]) %>

<%= convert_placeholder_paths_from_string!(item[:description]) %>

<% if item[:assignment] && item_details_present?(item[:assignment]) %>

<%= item[:assignment][:due_at].present? ? I18n.t("Due at: %{time}",{time: friendly_date(item[:assignment][:due_at])}) : nil%>

<%= item[:assignment][:unlock_at].present? ? I18n.t("Unlock at: %{time}",{time: friendly_date(item[:assignment][:unlock_at])}) : nil %>

<%= item[:assignment][:lock_at].present? ? I18n.t("Lock at: %{time}",{time: friendly_date(item[:assignment][:lock_at])}) : nil %>

<%= item[:assignment][:grading_type] ? I18n.t("Grading Type: %{type}",{type: item[:assignment][:grading_type]}) : nil %>

<%= item[:assignment][:points_possible] ? I18n.t("Points: %{points}",{points: item[:assignment][:points_possible]}) : nil %>

<% end %>