{% set data = namespace() %} {% set claims = signature.endorsements | map(attribute="claim") | list %} {# Find recipient claim #} {% for claim in claims %} {% if "RecipientClaim" in claim.type %} {% set data.recipient = claim %} {% endif %} {% endfor %} {# Find EDS claim #} {% for claim in claims %} {% if "EDSClaim" in claim.type %} {% set data.eds = claim %} {% set data.edsEndorsement = signature.endorsements[loop.index0] %} {% endif %} {% endfor %} {{ badge.name }} {# ----- MACROS ----- #} {# -> Table row title #} {% macro row_title(index, title_lang1, title_lang2, slash=True) %} {{index}} {{title_lang1}} {% if slash %} / {% else %}
{% endif %} {{title_lang2}} {% endmacro %} {# -> Table row data multilanguage #} {% macro row_data_multilang(data_lang1, data_lang2) %} {{data_lang1}} {{data_lang2}} {% endmacro %} {# -> Table row data #} {% macro row_data(data) %} {{data}} {% endmacro %}
{{ row_title( '1.', 'Dades de la persona titulada', 'Information identifying the holder of the qualification', False) }} {% if data.recipient %} {{ row_title( '1.1', 'Cognoms', 'Family name(s)' ) }} {{ row_data(data.recipient.familyName) }} {{ row_title('1.2', 'Nom', 'Given name(s)') }} {{ row_data(data.recipient.givenName) }} {{ row_title( '1.3', 'Data de naixement (dd/mm/aaaa)', 'Date of birth (dd/mm/yyyy)') }} {{ row_data(data.recipient.birthdate) }} {% endif %} {% if officialValidation %} {{ row_title( '1.4', 'Número d\'identificació de l\'estudiant', 'Student identification number or code') }} {{ row_data(officialValidation.claim.registryCode) }} {% endif %}
{{ row_title( '2.', 'Informació sobre la titulació', 'Information identifying the qualification' ) }} {{ row_title( '2.1', 'Denominació de la titulació i del diploma conferit', 'Name of the qualification and title conferred (in original language)', False ) }} {{ row_title( '2.2', 'Principals camps d\'estudi de la titulació i orientació', 'Main field(s) of study for the qualification', False ) }} {{ row_data_multilang( data.eds.mainField, '#TODO') }} {{ row_title( '2.3', 'Nom i naturalesa de la institució que ha conferit el diploma', 'Name (in original language) and status of awarding institution', False) }} {{ row_data_multilang( data.eds.awardingInstitution, '#TODO' )}} {{ row_title( '2.4', 'Llengua(gües) utilitzada(es) en la docència i els exàmens', 'Language(s) of instruction / examination', False )}} {{ row_data_multilang( data.eds.language, '#TODO' )}}
{{ badge.name }}
{{ row_title( '3.', 'Informació sobre el nivell de la titulació', 'Information on the level of the qualification', False) }} {{ row_title( '3.1', 'Nivell de la titulació', 'Level of qualification') }} {{ row_data_multilang( data.eds.studiesLevel, '#TODO' )}} {{ row_title( '3.2', 'Durada oficial del programa', 'Official length of programme' )}} {{ row_data_multilang( data.eds.studiesLength, '#TODO' )}} {{ row_title( '3.3', 'Requisits d\'accés', 'Access requirements' )}} {{ row_data_multilang( data.eds.requirements, '#TODO' )}}
{{ row_title( '4.', 'Informació sobre el contingut i els resultats obtinguts', 'Information on the contents and results gained', False) }} {{ row_title( '4.1', 'Forma d\'estudi', 'Mode of study') }} {{ row_data_multilang( data.eds.mode, '#TODO') }} {{ row_title( '4.2', 'Requisits del programa', 'Programme requirements' )}} {{ row_data_multilang( data.eds.requirements, '#TODO' )}} {{ row_title( '4.3', 'Descripció dels continguts (1)', 'Programme details (1)') }} {{ row_title( '4.4', 'Sistema de qualificació', 'Grading scheme')}} {{ row_data_multilang( data.eds.gradingScheme, '#TODO')}} {{ row_title( '4.5', 'Qualificació global de la persona titulada (2)', 'Overall classification of the qualification (2)' )}} {{ row_data_multilang( 'Qualificació global: ' + data.eds.qualification | string + 'punts', '#TODO' )}}
{% for subject in data.eds.grades %} {% endfor %}
Assignatura Subject T S A M Q C
{{subject.name}} #TODO {{subject.choice}} {{subject.semester}} {{subject.year}} {{subject.mobility}} {{subject.grade}} {{subject.credits}}
{{ row_title( '5.', 'Informació de la funció de la titulació', 'Information on the function of the qualification') }} {{ row_title( '5.1', 'Accés a estudis ulteriors', 'Access to further study')}} {{ row_data_multilang( data.eds.further, '#TODO' )}} {{ row_title( '5.2', 'Objectius formatius i perfil de competències', 'Professional status and competences' )}} {% for competence in data.eds.competences %} {{ row_data_multilang( competence, '#TODO' )}} {% endfor %}
{{ row_title( '6.', 'Informació addicional', 'Additional information') }} {% for info in data.eds.extraInfo %} {{ row_data_multilang( info, '#TODO' )}} {% endfor %}
{# TODO: This is not the signature of the manager! #}
7. Certificació del suplement  /  Certification of the Supplement
Signatura  /  Signature Data (dd/mm/aaaa)  /  Date Segell oficial  /  Official stamp or seal
{{ data.edsEndorsement.issuedOn }}
El rector La gerent
{{ row_title( '8.', 'Informació sobre el sistema nacional d\'educació superior', 'Information on the national higher education system', False)}} {{ row_data_multilang( '(1) T: Tipus d\'assignatura (OB: obligatòria, OP: optativa, LL: lliure elecció), S: semestre o curs, A: any, Q: qualificació (CO: convalidada), C: crèdits europeus, M: Mobilitat acadèmica internacional.', '(1) T: Type of Subject (OB: Obligatory; OP: Optional; LL: Free Choice), S: Semester or Course, A: Year, Q: Grade (CO: Validated), C: European Credits, M: International academic mobility')}}