Fixes
This commit is contained in:
parent
d0a46ee8ab
commit
1ce0b4880e
|
@ -16,7 +16,7 @@ var Build = Class.extend({
|
||||||
self.buildData = buildData;
|
self.buildData = buildData;
|
||||||
self.fileLinkTemplate = linkTemplate;
|
self.fileLinkTemplate = linkTemplate;
|
||||||
|
|
||||||
self.registerQuery('build-updated', 10);
|
self.registerQuery('build-updated', 5);
|
||||||
|
|
||||||
$(window).on('build-updated', function(data) {
|
$(window).on('build-updated', function(data) {
|
||||||
|
|
||||||
|
@ -29,9 +29,9 @@ var Build = Class.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self.buildData) {
|
if (self.buildData) {
|
||||||
$('.build-duration').data('duration', self.buildData.duration ? self.buildData.duration : '');
|
$('.build-duration').html(self.buildData.duration ? (self.buildData.duration + ' ' + Lang.get('seconds')) : ('0 ' + Lang.get('seconds')));
|
||||||
$('.build-started').data('date', self.buildData.started ? self.buildData.started : '');
|
$('.build-started').html(self.buildData.started ? self.buildData.started : '');
|
||||||
$('.build-finished').data('date', self.buildData.finished ? self.buildData.finished : '');
|
$('.build-finished').html(self.buildData.finished ? self.buildData.finished : '');
|
||||||
$('#log pre').html(self.buildData.log);
|
$('#log pre').html(self.buildData.log);
|
||||||
$('.errors-table tbody').html(self.buildData.error_html);
|
$('.errors-table tbody').html(self.buildData.error_html);
|
||||||
|
|
||||||
|
|
|
@ -10,12 +10,15 @@
|
||||||
|
|
||||||
namespace Tests\PHPCensor\Helper;
|
namespace Tests\PHPCensor\Helper;
|
||||||
|
|
||||||
use DateTime;
|
|
||||||
use PHPCensor\Helper\Lang;
|
|
||||||
use Tests\PHPCensor\LocalizationTestCase;
|
use Tests\PHPCensor\LocalizationTestCase;
|
||||||
|
|
||||||
class LangTest extends LocalizationTestCase
|
class LangTest extends LocalizationTestCase
|
||||||
{
|
{
|
||||||
|
public function testSuccess()
|
||||||
|
{
|
||||||
|
$this->assertTrue(true);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue