Skip to content

Commit

Permalink
Modify error message
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Aug 31, 2016
1 parent f2b26a6 commit 8494258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/plugins/visualizations/charts/static/app.js
Expand Up @@ -20,7 +20,7 @@ define( [ 'mvc/ui/ui-modal', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc', 'utils/utils
});
if ( _.size( self.types ) === 0 ) {
self.$el.append( $( '<div/>' ).addClass( 'errormessagelarge' )
.append( $( '<p/>' ).text( 'Unfortunately we could not identify a suitable plugin. Please let us know if you are aware of js-based visualizations for this datatype.' ) ) );
.append( $( '<p/>' ).text( 'Unfortunately we could not identify a suitable plugin. Feel free to contact us if you are aware of visualizations for this datatype.' ) ) );
} else {
self._build( options );
}
Expand All @@ -30,7 +30,7 @@ define( [ 'mvc/ui/ui-modal', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc', 'utils/utils
self.$el.append( $( '<div/>' ).addClass( 'errormessagelarge' )
.append( $( '<p/>' ).text( 'Unable to access the plugin repository:' ) )
.append( $( '<pre/>' ).text( 'charts_plugin_url = ' + remote_root + 'package.json' ) )
.append( $( '<p/>' ).html( 'Please verify that your internet connection works properly and that the above base url is correct. Contact your admin if this error persists.' ) ) );
.append( $( '<p/>' ).html( 'Please verify that your internet connection works properly and that the above url is correct. Contact your admin if this error persists.' ) ) );
});
},

Expand Down

0 comments on commit 8494258

Please sign in to comment.