Add some $variables to the post install message
This way the post install messages can be better. Removed it as a filter because I cannot figure how to pass args to it
This commit is contained in:
@@ -386,17 +386,6 @@ app.filter('prettyEmailAddresses', function () {
|
||||
};
|
||||
});
|
||||
|
||||
app.filter('postInstallMessage', function () {
|
||||
return function (text, app) {
|
||||
if (!text) return '';
|
||||
if (!app) return text;
|
||||
|
||||
// [^] matches even newlines. '?' makes it non-greedy
|
||||
if (app.sso) return text.replace(/<nosso>[^]*?<\/nosso>/g, '');
|
||||
else return text.replace(/<sso>[^]*?<\/sso>/g, '');
|
||||
};
|
||||
});
|
||||
|
||||
// custom directive for dynamic names in forms
|
||||
// See http://stackoverflow.com/questions/23616578/issue-registering-form-control-with-interpolated-name#answer-23617401
|
||||
app.directive('laterName', function () { // (2)
|
||||
|
||||
Reference in New Issue
Block a user