mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-10 15:18:40 +00:00
fix tag-lists
This commit is contained in:
parent
137aee7864
commit
56af030cb1
|
|
@ -73,6 +73,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<td data-label="<?= $this->getHtml('Title'); ?>">
|
<td data-label="<?= $this->getHtml('Title'); ?>">
|
||||||
<a href="<?= $url; ?>"><?= \in_array($key, $this->data['unread']) ? '<strong>' : ''; ?><?= $this->printHtml($task->title); ?><?= \in_array($key, $this->data['unread']) ? '</strong>' : ''; ?></a>
|
<a href="<?= $url; ?>"><?= \in_array($key, $this->data['unread']) ? '<strong>' : ''; ?><?= $this->printHtml($task->title); ?><?= \in_array($key, $this->data['unread']) ? '</strong>' : ''; ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Tag'); ?>">
|
<td data-label="<?= $this->getHtml('Tag'); ?>">
|
||||||
|
<div class="tag-list">
|
||||||
<?php foreach ($task->tags as $tag) : ?>
|
<?php foreach ($task->tags as $tag) : ?>
|
||||||
<a href="<?= $url; ?>">
|
<a href="<?= $url; ?>">
|
||||||
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
||||||
|
|
@ -81,6 +82,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
<td data-label="<?= $this->getHtml('Creator'); ?>">
|
<td data-label="<?= $this->getHtml('Creator'); ?>">
|
||||||
<a class="content" href="<?= UriFactory::build('{/base}/profile/view?{?}&for=' . $task->createdBy->id); ?>">
|
<a class="content" href="<?= UriFactory::build('{/base}/profile/view?{?}&for=' . $task->createdBy->id); ?>">
|
||||||
<?= $this->printHtml($this->renderUserName(
|
<?= $this->printHtml($this->renderUserName(
|
||||||
|
|
@ -147,6 +149,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<td data-label="<?= $this->getHtml('Title'); ?>">
|
<td data-label="<?= $this->getHtml('Title'); ?>">
|
||||||
<a href="<?= $url; ?>"><?= \in_array($key, $this->data['unread']) ? '<strong>' : ''; ?><?= $this->printHtml($task->title); ?><?= \in_array($key, $this->data['unread']) ? '</strong>' : ''; ?></a>
|
<a href="<?= $url; ?>"><?= \in_array($key, $this->data['unread']) ? '<strong>' : ''; ?><?= $this->printHtml($task->title); ?><?= \in_array($key, $this->data['unread']) ? '</strong>' : ''; ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Tag'); ?>">
|
<td data-label="<?= $this->getHtml('Tag'); ?>">
|
||||||
|
<div class="tag-list">
|
||||||
<?php foreach ($task->tags as $tag) : ?>
|
<?php foreach ($task->tags as $tag) : ?>
|
||||||
<a href="<?= $url; ?>">
|
<a href="<?= $url; ?>">
|
||||||
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
||||||
|
|
@ -155,6 +158,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
<td><?php $responsibles = $task->getResponsible();
|
<td><?php $responsibles = $task->getResponsible();
|
||||||
foreach ($responsibles as $responsible) : ?>
|
foreach ($responsibles as $responsible) : ?>
|
||||||
<a class="content" href="<?= UriFactory::build('{/base}/profile/view?for=' . $responsible->id); ?>">
|
<a class="content" href="<?= UriFactory::build('{/base}/profile/view?for=' . $responsible->id); ?>">
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<td data-label="<?= $this->getHtml('Title'); ?>">
|
<td data-label="<?= $this->getHtml('Title'); ?>">
|
||||||
<a href="<?= $url; ?>"><?= $this->printHtml($task->title); ?></a>
|
<a href="<?= $url; ?>"><?= $this->printHtml($task->title); ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Tag'); ?>">
|
<td data-label="<?= $this->getHtml('Tag'); ?>">
|
||||||
|
<div class="tag-list">
|
||||||
<?php foreach ($task->tags as $tag) : ?>
|
<?php foreach ($task->tags as $tag) : ?>
|
||||||
<a href="<?= $url; ?>">
|
<a href="<?= $url; ?>">
|
||||||
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
||||||
|
|
@ -76,6 +77,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
<td data-label="<?= $this->getHtml('Creator'); ?>">
|
<td data-label="<?= $this->getHtml('Creator'); ?>">
|
||||||
<a class="content" href="<?= UriFactory::build('{/base}/profile/view?{?}&for=' . $task->createdBy->id); ?>">
|
<a class="content" href="<?= UriFactory::build('{/base}/profile/view?{?}&for=' . $task->createdBy->id); ?>">
|
||||||
<?= $this->printHtml($this->renderUserName(
|
<?= $this->printHtml($this->renderUserName(
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
data-tpl-value-path="/0/response/descriptionRaw"
|
data-tpl-value-path="/0/response/descriptionRaw"
|
||||||
data-tpl-text-path="/0/response/description"
|
data-tpl-text-path="/0/response/description"
|
||||||
data-value=""><?= $task->description; ?></article>
|
data-value=""><?= $task->description; ?></article>
|
||||||
|
<div class="tag-list">
|
||||||
<?php
|
<?php
|
||||||
foreach ($task->tags as $tag) : ?>
|
foreach ($task->tags as $tag) : ?>
|
||||||
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>">
|
||||||
|
|
@ -100,6 +101,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<?= $this->printHtml($tag->getL11n()); ?>
|
<?= $this->printHtml($tag->getL11n()); ?>
|
||||||
</span>
|
</span>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
<?php if (!empty($taskMedia)) : ?>
|
<?php if (!empty($taskMedia)) : ?>
|
||||||
<div>
|
<div>
|
||||||
<?php foreach ($taskMedia as $media) : ?>
|
<?php foreach ($taskMedia as $media) : ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user