Skip to content

Commit

Permalink
feat: improvements + v1.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Jan 22, 2024
1 parent 18a24bd commit 2bf97e4
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 8 deletions.
4 changes: 2 additions & 2 deletions publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ name: uniCMS - Unical template
platforms:
- linux
- web
releaseDate: '2024-01-12'
releaseDate: '2024-01-22'
roadmap: 'https://github.com/UniversitaDellaCalabria/unicms-template-unical/issues'
softwareType: standalone/web
softwareVersion: v1.6.5
softwareVersion: v1.6.6
url: 'https://github.com/UniversitaDellaCalabria/unicms-template-unical'
usedBy:
- Università della Calabria - https://www.unical.it
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name=PKG_NAME,
version='1.6.5',
version='1.6.6',

packages=[PKG_NAME],
package_dir={PKG_NAME: f"{SRC_FOLDER}/{PKG_NAME}"},
Expand Down
2 changes: 1 addition & 1 deletion src/unicms_template_unical/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

# CDN FOR STATICS
UNICMS_TEMPLATE_UNICAL_USE_CDN = False
UNICMS_TEMPLATE_UNICAL_CDN = 'https://cdn.jsdelivr.net/gh/UniversitaDellaCalabria/unicms-template-unical@1.6.5/src/unicms_template_unical/static'
UNICMS_TEMPLATE_UNICAL_CDN = 'https://cdn.jsdelivr.net/gh/UniversitaDellaCalabria/unicms-template-unical@1.6.6/src/unicms_template_unical/static'
16 changes: 16 additions & 0 deletions src/unicms_template_unical/static/images/logo_white_svg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 75 additions & 4 deletions src/unicms_template_unical/templates/pages/corsi.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@
{% load i18n %}
{% load static %}

{% load unicms_carousels %}
{% load unicms_contexts %}
{% load unicms_menus %}
{% load unicms_templates %}
{% load unicms_pages %}
{% load unicms_publications %}
{% load unicms_template_unical %}

<!-- Logo in Header -->
{% block header_center_logo %}
<div class="d-flex">
<div>
<image src="{% unicms_template_unical_static_path 'images/unical_logo_bullet_white.svg' %}" class="h-100" />
<image src="{% unicms_template_unical_static_path 'images/logo_white_svg.svg' %}" class="h-100" />
</div>
<div class="ms-4">
<div class="ms-4 mt-3 m-auto">
<p class="h5 text-white mb-1">
{% trans "The portal of" %}
</p>
Expand All @@ -25,9 +31,9 @@
{% block header_slim_mobile_org_name_side %}
<div class="d-flex">
<div>
<image src="{% unicms_template_unical_static_path 'images/unical_logo_bullet_white.svg' %}" class="h-100" />
<image src="{% unicms_template_unical_static_path 'images/logo_white_svg.svg' %}" class="h-100" />
</div>
<div class="ms-4">
<div class="ms-4 mt-3 m-auto">
<p class="h5 text-white mb-1">
{% trans "The portal of" %}
</p>
Expand All @@ -37,3 +43,68 @@
</div>
</div>
{% endblock header_slim_mobile_org_name_side %}

{% block addressbook_link %}{% settings_value "MAIN_DOMAIN" as main_domain %}{% settings_value "ADDRESSBOOK_LINK" as addressbook_link %}//{{ main_domain }}{{ addressbook_link }}{% endblock addressbook_link %}

{% block footer_bottom %}
<div class="it-footer-main clearfix py-4 border-white border-top unical-secondary-footer">
<div class="container">
<section>
{% block footer_bottom_content %}
<div class="row">
<div class="col-12 col-lg-9">
<div class="row">
{% block footer_bottom_1 %}
<div class="col-lg-6 col-sm-6">
<div class="link-list-wrapper">
<ul class="footer-list link-list clearfix">
<li><a class="list-item" href="https://ticket.unical.it" target="_blank" rel="noopener noreferrer" title="{% trans 'Ticket online' %}">{% trans 'Ticket online' %}</a></li>
<li><a class="list-item" href="https://smartcampus.unical.it" target="_blank" rel="noopener noreferrer" title="{% trans 'Smart Campus' %}">{% trans 'Smart Campus' %}</a></li>
<li><a class="list-item" href="https://soscr.unical.it/Default.aspx?tabid=212" target="_blank" rel="noopener noreferrer" title="{% trans 'Unical Life' %}">{% trans 'Unical Life' %}</a></li>
</ul>
</div>
</div>
{% endblock footer_bottom_1 %}

{% block footer_bottom_2 %}
<div class="col-lg-6 col-sm-6">
<div class="link-list-wrapper">
<ul class="footer-list link-list clearfix">
<li><a class="list-item" href="https://www.unical.it/organizzazione/chi-siamo/portale-trasparenza/" title="{% trans 'Transparent administration' %}">{% trans 'Transparent administration' %}</a></li>
<li><a class="list-item" href="https://www.unical.it/accessibilita/" title="{% trans 'Accessibility and performance' %}">{% trans 'Accessibility and performance' %}</a></li>
<li><a class="list-item" href="https://www.unical.it/privacy/" title="{% trans 'Data protection / GDPR' %}">{% trans 'Data protection / GDPR' %}</a></li>
<li><a class="list-item" href="https://www.unical.it/cookie/" title="{% trans 'Cookies and consent methods' %}">{% trans 'Cookies and consent methods' %}</a></li>
<li><a class="list-item" href="https://www.unical.it/note-legali/" title="{% trans 'Legal notes' %}">{% trans 'Legal notes' %}</a></li>
<li><a class="list-item" href="/sitemap/" title="{% trans 'Sitemap' %}">{% trans 'Sitemap' %}</a></li>
</ul>
</div>
</div>
{% endblock footer_bottom_2 %}

</div>
</div>

{% block department_contacts %}
<div class="col-12 col-lg-3">
<div class="mb-3">
<image src="{% unicms_template_unical_static_path 'images/logo_unical_white.svg' %}"
class="w-100 h-100"
alt="{% trans 'University of Calabria' %}"/>
</div>
<p class="mb-4">
Via Pietro Bucci
<br>
87036 Rende CS
<br>
<a class="text-white" href="/portale/pec" title="{% trans 'Certified email' %}">{% trans 'Certified email' %}</a>
<br>
C.F. 80003950781 / P.I. 00419160783
</p>
</div>
{% endblock department_contacts %}
</div>
{% endblock footer_bottom_content %}
</section>
</div>
</div>
{% endblock footer_bottom %}

0 comments on commit 2bf97e4

Please sign in to comment.