{% if meta.can_edit %}
  <li>
    <a
      role="button"
      onclick="document.getElementById('edit_package_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-edit"></i> Edit Package</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('edit_package_permissions_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-user"></i> Edit Permissions</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('publish_package_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-bullhorn"></i> Publish Package</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('export_package_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-bullhorn"></i> Export Package as JSON</a
    >
  </li>
  <li>
    <a
      role="button"
      onclick="document.getElementById('set_license_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-duplicate"></i> License</a
    >
  </li>
  <li>
    <a
      class="button"
      onclick="document.getElementById('generic_delete_modal').showModal(); return false;"
    >
      <i class="glyphicon glyphicon-trash"></i> Delete Package</a
    >
  </li>
{% endif %}
