<%= name %>
<% if my_module.archived? %>
<%=t 'search.index.archived' %>
<% end %>
<% if my_module.started_on.present? %>
<%= t('projects.reports.elements.module.started_on', started_on: l(my_module.started_on, format: :full)) %>
<% else %>
<%=t "projects.reports.elements.module.no_start_date" %>
<% end %>
<% if my_module.due_date.present? %>
<%=t "projects.reports.elements.module.due_date", due_date: l(my_module.due_date, format: :full) %>
<% else %>
<%=t "projects.reports.elements.module.no_due_date" %>
<% end %>
<% if my_module.completed? %>
<%= t("my_modules.states.completed") %>
<%= l(my_module.completed_on, format: :full) %>
<% end %>
<% if my_module.description.present? %>
<%= custom_auto_link(my_module.prepare_for_report(:description, for_export_all),
team: current_team,
simple_format: false,
base64_encoded_imgs: for_export_all) %>
<% else %>
<%=t "projects.reports.elements.module.no_description" %>
<% end %>
<% if my_module.started_on.present? %>
<%= t('projects.reports.elements.module.started_on', started_on: l(my_module.started_on, format: :full)) %>
<% else %>
<%= t("projects.reports.elements.module.no_start_date") %>
<% end %>
<% if my_module.due_date.present? %>
<%= t("projects.reports.elements.module.due_date", due_date: l(my_module.due_date, format: :full)) %>
<% else %>
<%= t("projects.reports.elements.module.no_due_date") %>
<% end %>
<% status = my_module.my_module_status %>
<%= t("projects.reports.elements.module.status") %>
<%= status.name %>
<% if my_module.description.present? %>
<%= custom_auto_link(my_module.prepare_for_report(:description, for_export_all),
team: current_team,
base64_encoded_imgs: for_export_all) %>
<% else %>
<%= t("projects.reports.elements.module.no_description") %>
<% end %>