* Fix details.

This commit is contained in:
Yagami
2021-01-19 11:42:07 +08:00
parent 18cf73f84e
commit b3058a8ad6
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ $lang->block->createdDocs = '创建的文档数';
$lang->block->allProject = '所有' . $lang->executionCommon;
$lang->block->doingProject = '进行中的' . $lang->executionCommon;
$lang->block->finishProject = '累积' . $lang->executionCommon;
$lang->block->estimatedHours = '预计工时';
$lang->block->estimatedHours = '预计';
$lang->block->consumedHours = '已消耗';
$lang->block->time = '第';
$lang->block->week = '周';
+3 -3
View File
@@ -51,9 +51,9 @@
<span class="status-project status-<?php echo $execution->status?>" title='<?php echo $statusName;?>'><?php echo $statusName;?></span>
<?php endif;?>
</td>
<td class="c-hours"><?php echo $execution->hours->totalEstimate;?></td>
<td class="c-hours"><?php echo $execution->hours->totalConsumed;?></td>
<td class="c-hours"><?php echo $execution->hours->totalLeft;?></td>
<td class="c-hours"><?php echo $execution->hours->totalEstimate . ' ' . $config->hourUnit;?></td>
<td class="c-hours"><?php echo $execution->hours->totalConsumed . ' ' . $config->hourUnit;?></td>
<td class="c-hours"><?php echo $execution->hours->totalLeft . ' ' . $config->hourUnit;?></td>
<?php endif;?>
<td class="c-progress">
<div class="progress progress-text-left">
@@ -41,7 +41,7 @@
<?php echo $totalData[$projectID]->consumed ? html::a($this->createLink('project', 'index', 'locate=no'), $totalData[$projectID]->consumed) : 0;?>
</div>
<div class="tile-info">
<span class="extra-tips"><?php echo $lang->block->estimatedHours;?> <?php echo $totalData[$projectID]->estimate;?></span>
<span class="extra-tips"><?php echo $lang->block->estimatedHours;?> <?php echo $totalData[$projectID]->estimate . ' ' . $config->hourUnit;?></span>
</div>
</div>
<div class="col-4 tile">
+1 -1
View File
@@ -285,7 +285,7 @@ class commonModel extends model
{
$noRole = (!empty($app->user->role) && isset($lang->user->roleList[$app->user->role])) ? '' : ' no-role';
echo '<li class="user-profile-item">';
echo "<a href='" . helper::createLink('my', 'profile', '', '', true) . "' data-width='600' class='iframe $noRole'" . '>';
echo "<a href='" . helper::createLink('my', 'profile', '', '', true) . "' data-width='800' class='iframe $noRole'" . '>';
echo "<div class='avatar avatar bg-secondary avatar-circle'>";
echo $app->user->avatar ? html::image($app->user->avatar) : strtoupper($app->user->account[0]);
echo "</div>\n";