Add some comments on the various labels

This commit is contained in:
Girish Ramakrishnan
2019-07-31 11:38:28 -07:00
parent 0c6a6e4173
commit 02dcbb9a52
2 changed files with 4 additions and 1 deletions

View File

@@ -204,6 +204,7 @@ app.filter('activeOAuthClients', function () {
};
});
// this appears when an item in app grid is clicked
app.filter('prettyAppMessage', function () {
return function (message) {
if (message === 'ETRYAGAIN') return 'The DNS record for this location is not setup correctly. Please verify your DNS settings and repair this app.';
@@ -212,6 +213,7 @@ app.filter('prettyAppMessage', function () {
};
});
// this appears as tool tip in app grid
app.filter('shortAppMessage', function () {
return function (message) {
if (message === 'ETRYAGAIN') return 'DNS record not setup correctly';
@@ -267,6 +269,7 @@ app.filter('installationActive', function () {
};
});
// this appears in the app grid
app.filter('installationStateLabel', function() {
// for better DNS errors
function detailedError(app) {