Show total score across all swimlanes #2975

This commit is contained in:
Konstantin Vorobyev 2017-02-22 21:52:34 +09:00
parent 3d7a682ec7
commit 6f649b7d21
1 changed files with 19 additions and 10 deletions

View File

@ -53,17 +53,26 @@
<?php endif ?>
</span>
<?php if (! $not_editable && ! empty($column['description'])): ?>
<span class="tooltip pull-right" title="<?= $this->text->markdownAttribute($column['description']) ?>">
&nbsp;<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>
<span class="pull-right">
<?php if ($swimlane['nb_swimlanes'] > 1 && ! empty($column['column_score'])): ?>
<span title="<?= t('Total score in this column across all swimlanes') ?>">
(<span><?= $column['column_score'] ?></span>)
</span>
<?php endif ?>
<?php if (! empty($column['score'])): ?>
<span class="pull-right" title="<?= t('Score') ?>">
<?= $column['score'] ?>
</span>
<?php endif ?>
<?php if (! empty($column['score'])): ?>
<span title="<?= t('Score') ?>">
<?= $column['score'] ?>
</span>
<?php endif ?>
<?php if (! $not_editable && ! empty($column['description'])): ?>
<span class="tooltip" title="<?= $this->text->markdownAttribute($column['description']) ?>">
&nbsp;<i class="fa fa-info-circle"></i>
</span>
<?php endif ?>
</span>
<?php if ($column['task_limit']): ?>
<span title="<?= t('Task limit') ?>">