Build and Project pages UI fixes
This commit is contained in:
parent
1b11ec18ac
commit
4f86a98b5e
|
@ -331,7 +331,8 @@ PHP Censor',
|
|||
|
||||
'build_details' => 'Build Details',
|
||||
'commit_details' => 'Commit Details',
|
||||
'committer' => 'Committer',
|
||||
'committer' => 'Committer',
|
||||
'commit_message' => 'Commit Message',
|
||||
'timing' => 'Timing',
|
||||
'created' => 'Created',
|
||||
'started' => 'Started',
|
||||
|
|
|
@ -319,8 +319,9 @@ PHP Censor',
|
|||
'severity' => 'Важность',
|
||||
|
||||
'build_details' => 'Информация о сборке',
|
||||
'commit_details' => 'Информация о коммита',
|
||||
'commit_details' => 'Информация о коммитe',
|
||||
'committer' => 'Автор коммита',
|
||||
'commit_message' => 'Сообщение в коммите',
|
||||
'timing' => 'Тайминг',
|
||||
'created' => 'Создана',
|
||||
'started' => 'Началась',
|
||||
|
|
|
@ -21,10 +21,22 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><?php Lang::out('branch'); ?></th>
|
||||
<td style="text-align: right">
|
||||
<a target="_blank" href="<?php print $build->getBranchLink(); ?>">
|
||||
<span class="label label-default"><?php print $build->getBranch(); ?></span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><?php Lang::out('environment'); ?></th>
|
||||
<td style="text-align: right">
|
||||
<span class="label label-default"><?php print $build->getEnvironment(); ?></span>
|
||||
<?php
|
||||
$environment = $build->getEnvironment();
|
||||
echo !empty($environment) ? ('<span class="label label-default">' . $environment . '</span>') : '—' ;
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
@ -59,15 +71,6 @@
|
|||
|
||||
<div class="box-body no-padding">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th><?php Lang::out('branch'); ?></th>
|
||||
<td style="text-align: right">
|
||||
<a target="_blank" href="<?php print $build->getBranchLink(); ?>">
|
||||
<span class="label label-default"><?php print $build->getBranch(); ?></span>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><?php Lang::out('commit'); ?></th>
|
||||
<td style="text-align: right">
|
||||
|
@ -85,7 +88,8 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<th><?php Lang::out('commit_message'); ?></th>
|
||||
<td style="text-align: right">
|
||||
<?php print $build->getCommitMessage(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -41,6 +41,7 @@ $branches = $build->getExtra('branches');
|
|||
?>
|
||||
<tr>
|
||||
<td><a href="<?php echo APP_URL ?>build/view/<?php print $build->getId(); ?>">#<?php print str_pad($build->getId(), 6, '0', STR_PAD_LEFT); ?></a></td>
|
||||
<td><span class='label label-<?php echo $subcls ?>'><?php echo $status ?></span></td>
|
||||
<td><?php print $build->getCreated()->format('Y-m-d H:i:s'); ?></td>
|
||||
<td class="hidden-md hidden-sm hidden-xs">
|
||||
<?php
|
||||
|
@ -56,14 +57,15 @@ $branches = $build->getExtra('branches');
|
|||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
<td><?php print $build->getEnvironment(); ?></td>
|
||||
<td>
|
||||
<a href="<?php print $build->getBranchLink(); ?>" target="_blank"><?php print $build->getBranch(); ?></a>
|
||||
<?php print $branches ? ' + '.implode(', ', $branches) : ''; ?>
|
||||
</td>
|
||||
<td>
|
||||
<span class='label label-<?php echo $subcls ?>'><?php echo $status ?></span>
|
||||
<?php
|
||||
$environment = $build->getEnvironment();
|
||||
echo !empty($environment) ? $environment : '—' ;
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php print $build->getDuration(); ?> <?= Lang::get('seconds'); ?>
|
||||
|
|
|
@ -97,11 +97,11 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th><?php Lang::out('id'); ?></th>
|
||||
<th><?php Lang::out('status'); ?></th>
|
||||
<th><?php Lang::out('date'); ?></th>
|
||||
<th class="hidden-md hidden-sm hidden-xs"><?php Lang::out('commit'); ?></th>
|
||||
<th><?php Lang::out('environment'); ?></th>
|
||||
<th><?php Lang::out('branch'); ?></th>
|
||||
<th><?php Lang::out('status'); ?></th>
|
||||
<th><?php Lang::out('environment'); ?></th>
|
||||
<th><?php Lang::out('duration'); ?></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue