|
|
|
@ -1709,21 +1709,7 @@ define([
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
/*
|
|
|
|
|
if (AppConfig.surveyURL) {
|
|
|
|
|
options.push({
|
|
|
|
|
tag: 'a',
|
|
|
|
|
attributes: {
|
|
|
|
|
'class': 'cp-toolbar-survey fa fa-graduation-cap'
|
|
|
|
|
},
|
|
|
|
|
content: h('span', Messages.survey),
|
|
|
|
|
action: function () {
|
|
|
|
|
Common.openUnsafeURL(AppConfig.surveyURL);
|
|
|
|
|
Feedback.send('SURVEY_CLICKED');
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
options.push({
|
|
|
|
|
tag: 'a',
|
|
|
|
|
attributes: {
|
|
|
|
@ -1780,6 +1766,20 @@ define([
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (AppConfig.surveyURL) {
|
|
|
|
|
options.push({
|
|
|
|
|
tag: 'a',
|
|
|
|
|
attributes: {
|
|
|
|
|
'class': 'cp-toolbar-survey fa fa-graduation-cap'
|
|
|
|
|
},
|
|
|
|
|
content: h('span', Messages.survey),
|
|
|
|
|
action: function () {
|
|
|
|
|
Common.openUnsafeURL(AppConfig.surveyURL);
|
|
|
|
|
Feedback.send('SURVEY_CLICKED');
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
options.push({ tag: 'hr' });
|
|
|
|
|
// Add login or logout button depending on the current status
|
|
|
|
|
if (priv.loggedIn) {
|
|
|
|
|