Page MenuHomec4science

accountlinks.component.js
No OneTemporary

File Metadata

Created
Tue, Dec 3, 02:18

accountlinks.component.js

"use strict";
/*
OBJECTIF: Ajouter le lien vers SWITCH edu-ID.
REMARQUES: contient juste les liens vers SWITCH edu-ID et vers
l'application de changement des code-barres.
*/
module.exports = {
bindings: {parentCtrl: '<'},
controllerAs: 'ctrl',
controller: [function() {
var vm = this;
console.log(vm);
vm.view = vm.parentCtrl.accountLinksService.vid.replace(':', '-');
}],
template: `<div ng-if="ctrl.parentCtrl.tabName=='personalsettings'"><img width="20px" ng-src="/discovery/custom/{{ ctrl.view }}/img/information.png" /> {{ 'switchEduID' | customTranslate | trustHtml }} <a href=\"https://eduid.ch\">https://eduid.ch</a></div>`
};

Event Timeline