2021-12-28 16:17:07 +01:00
|
|
|
{# -*- mode: jinja-html -*- #}
|
2024-08-24 08:06:46 +02:00
|
|
|
{% extends "sco_page_dept.j2" %}
|
2022-01-09 23:13:09 +01:00
|
|
|
{% block styles %}
|
2023-03-28 21:59:09 +02:00
|
|
|
{{super()}}
|
2023-04-14 23:36:36 +02:00
|
|
|
<link href="{{scu.STATIC_DIR}}/css/refcomp_parcours_niveaux.css" rel="stylesheet" type="text/css" />
|
2022-01-09 23:13:09 +01:00
|
|
|
{% endblock %}
|
2021-12-04 22:20:08 +01:00
|
|
|
|
|
|
|
{% block app_content %}
|
|
|
|
<h2>Référentiel de compétences {{ref.type_titre}} {{ref.specialite_long}}</h2>
|
|
|
|
|
2023-03-28 21:59:09 +02:00
|
|
|
<div class="help">
|
2024-04-02 23:37:23 +02:00
|
|
|
Référentiel chargé le {{ref.scodoc_date_loaded.strftime(scu.DATEATIME_FMT) if ref.scodoc_date_loaded else ""}} à
|
2023-03-28 21:59:09 +02:00
|
|
|
partir du fichier <tt>{{ref.scodoc_orig_filename or "(inconnu)"}}</tt>.
|
|
|
|
</div>
|
2021-12-04 22:20:08 +01:00
|
|
|
|
2023-04-13 15:16:14 +02:00
|
|
|
<div class="refcomp_show">
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<ref-competences></ref-competences>
|
|
|
|
</div>
|
2021-12-04 22:20:08 +01:00
|
|
|
|
2023-03-28 21:59:09 +02:00
|
|
|
{% include "but/refcomp_parcours_niveaux.j2" %}
|
2021-12-04 22:20:08 +01:00
|
|
|
|
2022-01-09 23:13:09 +01:00
|
|
|
|
2023-04-13 15:16:14 +02:00
|
|
|
<div class="liens">
|
2023-03-26 10:08:50 +02:00
|
|
|
<ul>
|
|
|
|
<li>Formations se référant à ce référentiel:
|
|
|
|
<ul>
|
|
|
|
{% for formation in ref.formations %}
|
2024-04-05 23:41:34 +02:00
|
|
|
<li>
|
|
|
|
<a class="stdlink" href="{{
|
|
|
|
url_for('notes.ue_table', scodoc_dept=g.scodoc_dept, formation_id=formation.id )
|
|
|
|
}}">{{ formation.get_titre_version() }}</a>
|
|
|
|
{% if referentiels_equivalents %}
|
|
|
|
<a style="margin-left: 8px;" class="stdlink" href="
|
|
|
|
{{ url_for('notes.formation_change_refcomp',
|
|
|
|
scodoc_dept=g.scodoc_dept, formation_id=formation.id )
|
|
|
|
}}
|
|
|
|
">(changer)</a>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
2023-04-06 16:10:32 +02:00
|
|
|
{% else %}
|
|
|
|
<li><em>aucune</em></li>
|
2023-03-26 10:08:50 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a class="stdlink" href="{{url_for('notes.refcomp_table', scodoc_dept=g.scodoc_dept)}}">Liste des référentiels</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2023-04-13 15:16:14 +02:00
|
|
|
</div>
|
2023-03-26 10:08:50 +02:00
|
|
|
|
2021-12-04 22:20:08 +01:00
|
|
|
</div>
|
|
|
|
|
2022-01-09 23:13:09 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{super()}}
|
|
|
|
|
2023-05-12 10:00:11 +02:00
|
|
|
<script src="{{scu.STATIC_DIR}}/js/ref_competences.js"></script>
|
|
|
|
|
2022-01-09 23:13:09 +01:00
|
|
|
<script>
|
|
|
|
$(function () {
|
|
|
|
let data_url = "{{data_source}}";
|
|
|
|
$.getJSON(data_url, function (data) {
|
|
|
|
document.querySelector("ref-competences").setData = data;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2021-12-04 22:20:08 +01:00
|
|
|
{% endblock %}
|