35 lines
1.3 KiB
Twig
35 lines
1.3 KiB
Twig
{% extends 'teamer/layout.html.twig' %}
|
|
|
|
{% block title %}Meine Jobprofile & Skills{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2 class="text-xl font-bold pb-2">
|
|
Lizenzen
|
|
</h2>
|
|
<div class="flex flex-col space-x-4 pb-8">
|
|
{% for license in teamer.licenses %}
|
|
<div class="flex items-center space-x-2">
|
|
{{ icon(license.type, 'w-5 h-5') }}
|
|
<span>{{ license.date|date('m.Y') }}</span>
|
|
{% if is_granted('DOWNLOAD', license.certificate) %}
|
|
<a href="{{ path('app_common_download', { 'uuid': license.certificate.uuid }) }}" target="_blank">
|
|
{{ icon('download', 'w-4 h-4') }}
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
{% else %}
|
|
<div class="text-sm pb-8">
|
|
Du hast bisher keine Lizenzen hinterlegt
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
<button type="button"
|
|
class="btn"
|
|
{{ stimulus_controller('modal-button', [], [], {'ajax-modal': '#ajax-modal'}) }}
|
|
{{ stimulus_action('modal-button', 'ajax', null, {
|
|
'title': 'Lizenz hinzufügen',
|
|
'url': path('app_teamer_profile_license_add')
|
|
}) }}>
|
|
Lizenz hinzufügen
|
|
</button>
|
|
{% endblock %} |