WIP Impelement more stuff
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
{% block title %}Meine Jobprofile & Skills{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="text-2xl font-bold pb-4">
|
||||
Meine Jobprofile & Skills
|
||||
</h1>
|
||||
<h2 class="text-xl font-bold pb-2">
|
||||
Ausbildung
|
||||
</h2>
|
||||
@@ -26,16 +29,19 @@
|
||||
{% for license in teamer.licenses %}
|
||||
<li>
|
||||
<div class="flex items-center space-x-4">
|
||||
{{ icon(license.type, 'w-5 h-5') }}
|
||||
<span>{{ license.type|license_label }}</span>
|
||||
<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">
|
||||
<a href="{{ path('app_common_download', { 'uuid': license.certificate.uuid }) }}"
|
||||
target="_blank"
|
||||
title="Download Nachweis">
|
||||
{{ icon('download', 'w-4 h-4') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if is_granted('DELETE', license) %}
|
||||
<button type="button"
|
||||
class="text-red-500"
|
||||
title="Lizenz löschen"
|
||||
{{ stimulus_controller('modal-button', [], [], {'confirmation-modal': '#confirmation-modal'}) }}
|
||||
{{ stimulus_action('modal-button', 'confirmation', null, {
|
||||
'title': 'Bist du sicher?',
|
||||
@@ -48,9 +54,9 @@
|
||||
</div>
|
||||
</li>
|
||||
{% else %}
|
||||
<div class="text-sm">
|
||||
<li class="text-sm">
|
||||
Du hast bisher keine Lizenzen hinterlegt
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<button type="button"
|
||||
|
||||
Reference in New Issue
Block a user