diff --git a/include/tw/cis_menu_lv.inc.php b/include/tw/cis_menu_lv.inc.php index 73a347dc3..29ba54724 100644 --- a/include/tw/cis_menu_lv.inc.php +++ b/include/tw/cis_menu_lv.inc.php @@ -244,10 +244,10 @@ function checkZeilenUmbruch() if(defined('CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN') && CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN && $angemeldet && (!defined('CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN_STG') || in_array($lv->studiengang_kz, unserialize(CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN_STG))) && (!defined('CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN_LVA') || in_array($lv->lehrveranstaltung_id, unserialize(CIS_LEHRVERANSTALTUNG_ANWESENHEIT_ANZEIGEN_LVA))) - && ($rechte->isBerechtigt('extension/anw_ent_admin') - || $rechte->isBerechtigt('extension/anwesenheit_lektor') - || $rechte->isBerechtigt('extension/anwesenheit_student') - || $rechte->isBerechtigt('extension/anwesenheit_admin'))) + && ($rechte->isBerechtigt('extension/anw_r_ent_assistenz') + || $rechte->isBerechtigt('extension/anw_r_lektor') + || $rechte->isBerechtigt('extension/anw_r_student') + || $rechte->isBerechtigt('extension/anw_r_full_assistenz'))) { $link=''; $text=''; diff --git a/public/js/components/Bootstrap/Modal.js b/public/js/components/Bootstrap/Modal.js index 2b3223ff7..ee4495278 100644 --- a/public/js/components/Bootstrap/Modal.js +++ b/public/js/components/Bootstrap/Modal.js @@ -3,7 +3,8 @@ export default { name: 'BootstrapModal', data: () => ({ - modal: null + modal: null, + fullscreen: false }), props: { backdrop: { @@ -26,6 +27,10 @@ export default { bodyClass: { type: [String,Array,Object], default: 'px-4 py-5' + }, + allowFullscreenExpand: { + type: Boolean, + default: false } }, emits: [ @@ -50,6 +55,9 @@ export default { }, toggle() { return this.modal.toggle(); + }, + toggleFullscreen() { + this.fullscreen = !this.fullscreen } }, mounted() { @@ -115,12 +123,20 @@ export default { }); }, template: `