Browse Source

Fixes #2299: Date and time in request list is now never wrapped

tags/2.0.0-rc
Alexander Makarov 10 years ago
parent
commit
af1a266665
  1. 1
      extensions/debug/CHANGELOG.md
  2. 4
      extensions/debug/assets/main.css
  3. 3
      extensions/debug/views/default/index.php

1
extensions/debug/CHANGELOG.md

@ -5,6 +5,7 @@ Yii Framework 2 debug extension Change Log
--------------------------
- Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)
- Enh #2299: Date and time in request list is now never wrapped (samdark)
- Enh #3088: The debug module will manage their own URL rules now (qiangxue)
- Enh #3103: debugger panel is now not displayed when printing a page (githubjeka)
- Enh #3108: Added `yii\debug\Module::enableDebugLogs` to disable logging debug logs by default (qiangxue)

4
extensions/debug/assets/main.css

@ -93,3 +93,7 @@ a.desc:after {
width: 12%;
font-weight: bold;
}
.nowrap {
white-space: nowrap;
}

3
extensions/debug/views/default/index.php

@ -61,8 +61,9 @@ if (isset($this->context->module->panels['db']) && isset($this->context->module-
[
'attribute' => 'time',
'value' => function ($data) use ($timeFormatter) {
return $timeFormatter->asDateTime($data['time'], 'short');
return '<span class="nowrap">' . $timeFormatter->asDateTime($data['time'], 'short') . '</span>';
},
'format' => 'html',
],
'ip',
[

Loading…
Cancel
Save