aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/lib/instschedule.js
blob: d925bfbc0a959713fe7eafa9360f991721727b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { $gettext } from './gettext';
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;