aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/lib/instschedule.js
blob: af438c29d9cb60c2a74c7a5dd4eaa446ba17f2a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { $gettext } from './gettext.js';
import Dialog from './dialog.js';

const Instschedule = {
    /**
     * show the details of a grouped-entry in the isntitute-calendar, containing several seminars
     *
     * @param  string  the id of the grouped-entry to be displayed
     */
    showInstituteDetails: function(id) {
        jQuery.get(STUDIP.URLHelper.getURL('dispatch.php/calendar/instschedule/groupedentry/' + id), function(data) {
            Dialog.show(data, {
                title: $gettext('Detaillierte Veranstaltungsliste')
            });
        });
    }
};

export default Instschedule;