diff --git a/src/index.html b/src/index.html index 96f728cc..bf2fb689 100755 --- a/src/index.html +++ b/src/index.html @@ -64,16 +64,16 @@ } else { js.src = '/iris/app.min.js?v='+build; css.href = '/iris/app.min.css?v='+build; - } - // Initiate error tracking. This helps catch errors early so - // patches can accurately and quickly fix issues. - Raven.config( - 'https://023e3bf7721b48f29948545fc36a4621@sentry.io/219026', - { - release: version+(test_mode ? "_testmode" : "") - } - ).install(); + // Initiate error tracking. This helps catch errors early so + // patches can accurately and quickly fix issues. + Raven.config( + 'https://023e3bf7721b48f29948545fc36a4621@sentry.io/219026', + { + release: version + } + ).install(); + } // And finally inject our CSS/JS tags document.body.appendChild(js); diff --git a/src/js/services/core/middleware.js b/src/js/services/core/middleware.js index 4739755e..781bc47f 100755 --- a/src/js/services/core/middleware.js +++ b/src/js/services/core/middleware.js @@ -61,7 +61,7 @@ const CoreMiddleware = (function(){ var xhr_response = JSON.parse(action.data.xhr.responseText); if (xhr_response.error && xhr_response.error.message){ - message = message +": "+ xhr_response.error.message; + message = message+'

'+xhr_response.error.message+'

'; } store.dispatch(uiActions.createNotification(message,'bad')); diff --git a/src/scss/components/_notifications.scss b/src/scss/components/_notifications.scss index ddb24180..da95ffe2 100755 --- a/src/scss/components/_notifications.scss +++ b/src/scss/components/_notifications.scss @@ -29,6 +29,13 @@ border-bottom: 1px dotted $black; } + p.description { + font-size: 14px; + opacity: 0.5; + padding-top: 5px; + line-height: 1.1em; + } + .close-button { position: absolute; top: 4px;