/// <reference path="../references.js" />

rwthapp.util.initNamespace("templates");

rwthapp.templates.home = {
    load: function (template, parameters) {
        // TODO only temporary, should be removed from start page in the long run
        var rwthLogoPath = null;
        // Swap rwth logo for carnival
        if (rwthapp.util.isCarnival()) {
            rwthLogoPath = "img/rwth-icon-carnival.svg"
        }

        return {
            template: template,
            parameters: {
                rwthLogoPath: rwthLogoPath
            }
        };
    },
    ready: function () {
    },
    exit: function () {

    }
};