{% if meta.can_edit %}
  <li>
    <a
      role="button"
      onclick="document.getElementById('edit_compound_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-edit"></i> Edit Compound</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('set_aliases_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-plus"></i> Set Aliases</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('add_structure_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-plus"></i> Add Structure</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('set_scenario_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-plus"></i> Set Scenarios</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('generic_set_external_reference_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-plus"></i> Set External Reference</a
    >
  </li>
{% endif %}
<li>
  <a
    role="button"
    onclick="document.getElementById('generic_copy_object_modal').showModal(); return false;"
  >
    <i class="glyphicon glyphicon-duplicate"></i> Copy</a
  >
</li>
{% if meta.can_edit %}
  <li>
    <a
      class="button"
      onclick="document.getElementById('generic_delete_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-trash"></i> Delete Compound</a
    >
  </li>
{% endif %}
