Skip to content
This repository
tree: 03d199254a
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 42 lines (36 sloc) 1.291 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
{% load base_tags %}
{% load perm_tags %}
{% load i18n %}

{% has_perm user resumes.change_resume opt_object as can_edit %}
{% has_perm user resumes.delete_resume opt_object as can_delete %}

<div class="t-iconrow">

{% if can_edit %}
        {% if opt_object.is_pending %}
            <span class="status-pending">{{ opt_object.status_detail|capfirst }}</span>
{% else %}
            <span>{{ opt_object.status_detail|capfirst }}</span>
        {% endif %}
{% endif %}

<a class="option-link print" href="{% url resume.print_view opt_object.slug %}">{% trans "Print" %}</a>
{% if can_edit %}
<a class="option-link edit" href="{% url resume.edit opt_object.pk %}">{% trans "Edit" %}</a>
{% endif %}

 {% if can_edit %}
<div class="more-options-wrap">
<a href="javascript:;" class="more-options-trigger">{% trans "More options" %} <small>&#9660;</small></a>
<div class="more-options-target">
<ul>
<li class="divider">
<a href="{% url resume.edit.meta opt_object.pk %}">{% trans "Edit Meta" %}</a>
</li>

<li>
{% if can_delete %}
<li>
<a class="option-link delete" href="{% url resume.delete opt_object.pk %}">{% trans "Delete" %}</a>
</li>
{% endif %}
</ul>
</div>
</div>
  {% endif %}
</div>
Something went wrong with that request. Please try again.