performance warning: text cleanup

This commit is contained in:
juliandescottes 2016-12-18 06:52:44 +01:00
parent 57b37971f6
commit 58bfe16b27
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@
<span class="cheatsheet-link icon-common-keyboard-gold" <span class="cheatsheet-link icon-common-keyboard-gold"
rel="tooltip" data-placement="right" title="Keyboard shortcuts">&nbsp;</span> rel="tooltip" data-placement="right" title="Keyboard shortcuts">&nbsp;</span>
<div class="performance-link icon-common-warning-red" <div class="performance-link icon-common-warning-red"
rel="tooltip" data-placement="left" title="Performance issues: learn more.">&nbsp;</div> rel="tooltip" data-placement="left" title="Performance problem detected, learn more.">&nbsp;</div>
<!-- dialogs partials --> <!-- dialogs partials -->
@@include('templates/dialogs/create-palette.html', {}) @@include('templates/dialogs/create-palette.html', {})

View File

@ -44,7 +44,7 @@
// and we were not displaying a warning before. // and we were not displaying a warning before.
if (shouldDisplayWarning && !isWarningDisplayed) { if (shouldDisplayWarning && !isWarningDisplayed) {
$.publish(Events.SHOW_NOTIFICATION, [{ $.publish(Events.SHOW_NOTIFICATION, [{
'content': 'performance problem notification ' + 'content': 'Performance problem detected, ' +
'<a href="#" style="color:red;"' + '<a href="#" style="color:red;"' +
'onclick="pskl.controller.UserWarningController.showPerformanceInfoDialog()">' + 'onclick="pskl.controller.UserWarningController.showPerformanceInfoDialog()">' +
'learn more?</a>', 'learn more?</a>',