-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OS-1308] Update the cdd configuration menu items
- Loading branch information
Showing
4 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{% load i18n %} | ||
|
||
{% comment "License" %} | ||
* OSIS stands for Open Student Information System. It's an application | ||
* designed to manage the core business of higher education institutions, | ||
* such as universities, faculties, institutes and professional schools. | ||
* The core business involves the administration of students, teachers, | ||
* courses, programs and so on. | ||
* | ||
* Copyright (C) 2015-2024 Université catholique de Louvain (http://www.uclouvain.be) | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* A copy of this license - GNU General Public License - is available | ||
* at the root of the source code of this program. If not, | ||
* see http://www.gnu.org/licenses/. | ||
{% endcomment %} | ||
|
||
{% if perms.parcours_doctoral.change_cddconfiguration or parcours_doctoral.change_cddmailtemplate %} | ||
<li class="nav-item dropdown"> | ||
<a | ||
href="#" | ||
class="dropdown-toggle nav-link" | ||
data-toggle="dropdown" | ||
data-bs-toggle="dropdown" | ||
role="button" | ||
aria-haspopup="true" | ||
aria-expanded="false" | ||
id="lnk_home_dropdown_cdd_configuration" | ||
> | ||
<span class="hidden-md fa fa fa-tools" aria-hidden="true"></span> | ||
<span class="hidden-sm">{% trans 'CDD configuration' %}</span> | ||
<span class="caret"></span> | ||
</a> | ||
<ul class="dropdown-menu"> | ||
{% if perms.parcours_doctoral.change_cddmailtemplate %} | ||
<li class="dropdown-item"> | ||
<a | ||
href="{% url 'parcours_doctoral:config:cdd-mail-template:list' %}" | ||
title="{% translate 'Allow you to manage emails sent by CDD managers based on the CDD' %}" | ||
> | ||
<span class="fa fa-tools"></span> | ||
{% translate 'CDD Mail template' %} | ||
</a> | ||
</li> | ||
{% endif %} | ||
{% if perms.parcours_doctoral.change_cddconfiguration %} | ||
<li class="dropdown-item"> | ||
<a | ||
href="{% url 'parcours_doctoral:config:cdd-config:list' %}" | ||
title="{% translate 'Allow you to manage the doctoral training activities' %}" | ||
> | ||
<span class="fa fa-tools"></span> | ||
{% translate 'Doctoral training configuration' %} | ||
</a> | ||
</li> | ||
{% endif %} | ||
</ul> | ||
</li> | ||
{% endif %} |