<% protocol ||= report_element.my_module.protocol %>
<% export_all = defined?(export_all) && export_all %>
<div class="report-element report-module-protocol-element">
  <div class="report-element-header">
    <div class="row">
      <div class="pull-left user-time">
        <%= t('projects.reports.elements.module.protocol.user_time', timestamp: l(protocol.created_at, format: :full)) %>
      </div>
    </div>
  </div>
  <div class="report-element-body">
    <div class="row module-protocol-description">
      <% if protocol.description.present? %>
        <%= custom_auto_link(protocol.prepare_for_report(:description, export_all),
                             team: current_team,
                             simple_format: false,
                             base64_encoded_imgs: export_all) %>
      <% else %>
        <em><%= t('my_modules.protocols.protocol_status_bar.no_description') %></em>
      <% end %>
    </div>
  </div>
</div>
