We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f98d912 commit 7bdc75aCopy full SHA for 7bdc75a
src/DebugBar/Resources/widgets.js
@@ -476,7 +476,8 @@ if (typeof(PhpDebugBar) == 'undefined') {
476
477
this.bindAttr('data', function(data) {
478
this.$list.set('data', data.templates);
479
- this.$status.empty().append($('<span />').text(data.templates.length + " templates were rendered"));
+ var sentence = data.sentence || "templates were rendered";
480
+ this.$status.empty().append($('<span />').text(data.templates.length + " " + sentence));
481
if (data.accumulated_render_time_str) {
482
this.$status.append($('<span title="Accumulated render time" />').addClass(csscls('render_time')).text(data.accumulated_render_time_str));
483
}
0 commit comments