mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-15 06:08:40 +00:00
update
This commit is contained in:
parent
65a785ce87
commit
9883f3c1f6
|
|
@ -72,7 +72,8 @@
|
||||||
"from": "Tasks",
|
"from": "Tasks",
|
||||||
"permission": { "permission": 2, "category": null, "element": null },
|
"permission": { "permission": 2, "category": null, "element": null },
|
||||||
"parent": 1001101001,
|
"parent": 1001101001,
|
||||||
"children": []
|
"children": [],
|
||||||
|
"status": 3
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ final class ApiController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to create remeinder from request.
|
* Method to create reminder from request.
|
||||||
*
|
*
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
*
|
*
|
||||||
|
|
@ -149,7 +149,7 @@ final class ApiController extends Controller
|
||||||
$unseen->reminderBy = new NullAccount($request->header->account);
|
$unseen->reminderBy = new NullAccount($request->header->account);
|
||||||
$unseen->reminderAt = new \DateTime('now');
|
$unseen->reminderAt = new \DateTime('now');
|
||||||
|
|
||||||
$remidner[] = $unseen;
|
$reminder[] = $unseen;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $reminder;
|
return $reminder;
|
||||||
|
|
@ -360,10 +360,10 @@ final class ApiController extends Controller
|
||||||
$task->descriptionRaw = $request->getDataString('plain') ?? '';
|
$task->descriptionRaw = $request->getDataString('plain') ?? '';
|
||||||
$task->setCreatedBy(new NullAccount($request->header->account));
|
$task->setCreatedBy(new NullAccount($request->header->account));
|
||||||
$task->setStatus(TaskStatus::OPEN);
|
$task->setStatus(TaskStatus::OPEN);
|
||||||
$task->setType(TaskType::SINGLE);
|
$task->setType($request->getDataInt('type') ?? TaskType::SINGLE);
|
||||||
$task->redirect = $request->getDataString('redirect') ?? '';
|
$task->redirect = $request->getDataString('redirect') ?? '';
|
||||||
|
|
||||||
if (!$request->hasData('priority')) {
|
if ($request->hasData('due')) {
|
||||||
$task->due = $request->getDataDateTime('due');
|
$task->due = $request->getDataDateTime('due');
|
||||||
} else {
|
} else {
|
||||||
$task->setPriority((int) $request->getData('priority'));
|
$task->setPriority((int) $request->getData('priority'));
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ use Modules\Tasks\Models\TaskMapper;
|
||||||
use Modules\Tasks\Models\TaskSeen;
|
use Modules\Tasks\Models\TaskSeen;
|
||||||
use Modules\Tasks\Models\TaskSeenMapper;
|
use Modules\Tasks\Models\TaskSeenMapper;
|
||||||
use Modules\Tasks\Models\TaskStatus;
|
use Modules\Tasks\Models\TaskStatus;
|
||||||
|
use Modules\Tasks\Models\TaskType;
|
||||||
use Modules\Tasks\Views\TaskView;
|
use Modules\Tasks\Views\TaskView;
|
||||||
use phpOMS\Account\PermissionType;
|
use phpOMS\Account\PermissionType;
|
||||||
use phpOMS\Asset\AssetType;
|
use phpOMS\Asset\AssetType;
|
||||||
|
|
@ -48,7 +49,7 @@ use phpOMS\Views\View;
|
||||||
final class BackendController extends Controller implements DashboardElementInterface
|
final class BackendController extends Controller implements DashboardElementInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Routing end-point for application behaviour.
|
* Routing end-point for application behavior.
|
||||||
*
|
*
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
* @param ResponseAbstract $response Response
|
* @param ResponseAbstract $response Response
|
||||||
|
|
@ -73,22 +74,21 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
$mapperQuery = TaskMapper::getAnyRelatedToUser($request->header->account)
|
$mapperQuery = TaskMapper::getAnyRelatedToUser($request->header->account)
|
||||||
->with('tags')
|
->with('tags')
|
||||||
->with('tags/title')
|
->with('tags/title')
|
||||||
|
->with('createdBy')
|
||||||
->where('status', TaskStatus::OPEN, '!=')
|
->where('status', TaskStatus::OPEN, '!=')
|
||||||
|
->where('type', TaskType::SINGLE)
|
||||||
->where('tags/title/language', $response->header->l11n->language)
|
->where('tags/title/language', $response->header->l11n->language)
|
||||||
->sort('createdAt', OrderType::DESC)
|
->sort('createdAt', OrderType::DESC)
|
||||||
->limit(25);
|
->limit(25);
|
||||||
|
|
||||||
if ($request->getData('ptype') === 'p') {
|
if ($request->getData('ptype') === 'p') {
|
||||||
$view->data['tasks'] = $mapperQuery->with('createdBy')
|
$view->data['tasks'] = $mapperQuery->where('id', $request->getDataInt('id') ?? 0, '<')
|
||||||
->where('id', $request->getDataInt('id') ?? 0, '<')
|
|
||||||
->execute();
|
->execute();
|
||||||
} elseif ($request->getData('ptype') === 'n') {
|
} elseif ($request->getData('ptype') === 'n') {
|
||||||
$view->data['tasks'] = $mapperQuery->with('createdBy')
|
$view->data['tasks'] = $mapperQuery->where('id', $request->getDataInt('id') ?? 0, '>')
|
||||||
->where('id', $request->getDataInt('id') ?? 0, '>')
|
|
||||||
->execute();
|
->execute();
|
||||||
} else {
|
} else {
|
||||||
$view->data['tasks'] = $mapperQuery->with('createdBy')
|
$view->data['tasks'] = $mapperQuery->where('id', 0, '>')
|
||||||
->where('id', 0, '>')
|
|
||||||
->execute();
|
->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -97,6 +97,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
$view->data['task_media'][$task->id] = TaskMapper::has()
|
$view->data['task_media'][$task->id] = TaskMapper::has()
|
||||||
->with('media')
|
->with('media')
|
||||||
->where('id', $task->id)
|
->where('id', $task->id)
|
||||||
|
->where('type', TaskType::SINGLE)
|
||||||
->execute();
|
->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -113,6 +114,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
->with('tags')
|
->with('tags')
|
||||||
->with('tags/title')
|
->with('tags/title')
|
||||||
->where('tags/title/language', $response->header->l11n->language)
|
->where('tags/title/language', $response->header->l11n->language)
|
||||||
|
->where('type', TaskType::SINGLE)
|
||||||
->where('status', TaskStatus::OPEN)
|
->where('status', TaskStatus::OPEN)
|
||||||
->sort('createdAt', OrderType::DESC)
|
->sort('createdAt', OrderType::DESC)
|
||||||
->query($openQuery)
|
->query($openQuery)
|
||||||
|
|
@ -135,6 +137,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
->with('tags')
|
->with('tags')
|
||||||
->with('tags/title')
|
->with('tags/title')
|
||||||
->where('tags/title/language', $response->header->l11n->language)
|
->where('tags/title/language', $response->header->l11n->language)
|
||||||
|
->where('type', TaskType::SINGLE)
|
||||||
->where('status', TaskStatus::OPEN)
|
->where('status', TaskStatus::OPEN)
|
||||||
->where('createdBy', $response->header->account, '=')
|
->where('createdBy', $response->header->account, '=')
|
||||||
->sort('createdAt', OrderType::DESC)
|
->sort('createdAt', OrderType::DESC)
|
||||||
|
|
@ -146,6 +149,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
$view->data['task_media'][$task->id] = TaskMapper::has()
|
$view->data['task_media'][$task->id] = TaskMapper::has()
|
||||||
->with('media')
|
->with('media')
|
||||||
->where('id', $task->id)
|
->where('id', $task->id)
|
||||||
|
->where('type', TaskType::SINGLE)
|
||||||
->execute();
|
->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -170,6 +174,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
$view->data['task_media'][$task->id] = TaskMapper::has()
|
$view->data['task_media'][$task->id] = TaskMapper::has()
|
||||||
->with('media')
|
->with('media')
|
||||||
->where('id', $task->id)
|
->where('id', $task->id)
|
||||||
|
->where('type', TaskType::SINGLE)
|
||||||
->execute();
|
->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -197,6 +202,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
->sort('taskElements/createdAt', OrderType::DESC)
|
->sort('taskElements/createdAt', OrderType::DESC)
|
||||||
->limit(5)
|
->limit(5)
|
||||||
->where('id', 0, '>')
|
->where('id', 0, '>')
|
||||||
|
->where('type', TaskType::SINGLE)
|
||||||
->where('tags/title/language', $response->header->l11n->language)
|
->where('tags/title/language', $response->header->l11n->language)
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
|
|
@ -206,7 +212,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Routing end-point for application behaviour.
|
* Routing end-point for application behavior.
|
||||||
*
|
*
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
* @param ResponseAbstract $response Response
|
* @param ResponseAbstract $response Response
|
||||||
|
|
@ -326,7 +332,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Routing end-point for application behaviour.
|
* Routing end-point for application behavior.
|
||||||
*
|
*
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
* @param ResponseAbstract $response Response
|
* @param ResponseAbstract $response Response
|
||||||
|
|
@ -354,7 +360,7 @@ final class BackendController extends Controller implements DashboardElementInte
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Routing end-point for application behaviour.
|
* Routing end-point for application behavior.
|
||||||
*
|
*
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
* @param ResponseAbstract $response Response
|
* @param ResponseAbstract $response Response
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace Modules\Tasks\Models;
|
||||||
use phpOMS\Stdlib\Base\Enum;
|
use phpOMS\Stdlib\Base\Enum;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Permision state enum.
|
* Permission category enum.
|
||||||
*
|
*
|
||||||
* @package Modules\Tasks\Models
|
* @package Modules\Tasks\Models
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
|
|
|
||||||
|
|
@ -104,9 +104,9 @@ class TaskAttributeValue implements \JsonSerializable
|
||||||
/**
|
/**
|
||||||
* Localization
|
* Localization
|
||||||
*
|
*
|
||||||
* @var null|BaseStringL11n
|
* @var string|BaseStringL11n
|
||||||
*/
|
*/
|
||||||
public ?BaseStringL11n $l11n = null;
|
public string | BaseStringL11n $l11n = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set l11n
|
* Set l11n
|
||||||
|
|
|
||||||
|
|
@ -329,6 +329,7 @@ final class TaskMapper extends DataMapperFactory
|
||||||
$query = new Builder(self::$db, true);
|
$query = new Builder(self::$db, true);
|
||||||
$query->innerJoin(TaskElementMapper::TABLE)
|
$query->innerJoin(TaskElementMapper::TABLE)
|
||||||
->on(self::TABLE . '_d1.task_id', '=', TaskElementMapper::TABLE . '.task_element_task')
|
->on(self::TABLE . '_d1.task_id', '=', TaskElementMapper::TABLE . '.task_element_task')
|
||||||
|
->on(self::TABLE . '_d1.task_type', '=', TaskType::SINGLE)
|
||||||
->innerJoin(AccountRelationMapper::TABLE)
|
->innerJoin(AccountRelationMapper::TABLE)
|
||||||
->on(TaskElementMapper::TABLE . '.task_element_id', '=', AccountRelationMapper::TABLE . '.task_account_task_element')
|
->on(TaskElementMapper::TABLE . '.task_element_id', '=', AccountRelationMapper::TABLE . '.task_account_task_element')
|
||||||
->where(AccountRelationMapper::TABLE . '.task_account_account', '=', $user)
|
->where(AccountRelationMapper::TABLE . '.task_account_account', '=', $user)
|
||||||
|
|
@ -345,8 +346,8 @@ final class TaskMapper extends DataMapperFactory
|
||||||
WHERE
|
WHERE
|
||||||
task.task_status != 1
|
task.task_status != 1
|
||||||
AND (
|
AND (
|
||||||
task_account.task_account_account = $user
|
task_account.task_account_account = {$user}
|
||||||
OR task.task_created_by = $user
|
OR task.task_created_by = {$user}
|
||||||
)
|
)
|
||||||
LIMIT 25;
|
LIMIT 25;
|
||||||
SQL;
|
SQL;
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Uri\UriFactory;
|
||||||
<div id="news-dashboard" class="col-xs-12 col-md-6" draggable="true">
|
<div id="news-dashboard" class="col-xs-12 col-md-6" draggable="true">
|
||||||
<div class="portlet">
|
<div class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('News', 'News'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('News', 'News'); ?></div>
|
||||||
<table class="default">
|
<table class="default sticky">
|
||||||
<thead>
|
<thead>
|
||||||
<td><?= $this->getHtml('Status', 'Tasks'); ?>
|
<td><?= $this->getHtml('Status', 'Tasks'); ?>
|
||||||
<td><?= $this->getHtml('Due/Priority', 'Tasks'); ?>
|
<td><?= $this->getHtml('Due/Priority', 'Tasks'); ?>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ declare(strict_types=1);
|
||||||
return ['Tasks' => [
|
return ['Tasks' => [
|
||||||
'Account' => 'الحساب',
|
'Account' => 'الحساب',
|
||||||
'All' => 'الجميع',
|
'All' => 'الجميع',
|
||||||
'AverageAmount' => 'متوسط المبلغ',
|
'AverageAmount' => "متوسط \u{200b}\u{200b}المبلغ",
|
||||||
'AverageProcessTime' => 'avg. وقت المعالجة',
|
'AverageProcessTime' => 'avg. وقت المعالجة',
|
||||||
'BCC' => 'bcc',
|
'BCC' => 'bcc',
|
||||||
'By' => 'بواسطة',
|
'By' => 'بواسطة',
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ $tasksList = $this->data['tasks'] ?? [];
|
||||||
<div class="portlet">
|
<div class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Tasks', 'Tasks'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Tasks', 'Tasks'); ?></div>
|
||||||
<div class="slider">
|
<div class="slider">
|
||||||
<table class="default">
|
<table class="default sticky">
|
||||||
<thead>
|
<thead>
|
||||||
<td><?= $this->getHtml('Status', 'Tasks'); ?>
|
<td><?= $this->getHtml('Status', 'Tasks'); ?>
|
||||||
<td><?= $this->getHtml('Due/Priority', 'Tasks'); ?>
|
<td><?= $this->getHtml('Due/Priority', 'Tasks'); ?>
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tr><td><label for="iAccount"><?= $this->getHtml('Account'); ?></label>
|
<tr><td><label for="iAccount"><?= $this->getHtml('Account'); ?></label>
|
||||||
<tr><td><span class="input"><button type="button" formaction=""><i class="g-icon">book</i></button><input type="number" min="1" id="iAccount" name="account" placeholder=" Guest" required></span>
|
<tr><td><span class="input"><button type="button" formaction=""><i class="g-icon">book</i></button><input type="number" min="1" id="iAccount" name="account" placeholder="Guest" required></span>
|
||||||
<tr><td><label for="iFrom"><?= $this->getHtml('From'); ?></label>
|
<tr><td><label for="iFrom"><?= $this->getHtml('From'); ?></label>
|
||||||
<tr><td><input type="datetime-local" id="iFrom" name="from" value="<?= $this->printHtml((new \DateTime('NOW'))->format('Y-m-d\TH:i:s')); ?>">
|
<tr><td><input type="datetime-local" id="iFrom" name="from" value="<?= $this->printHtml((new \DateTime('NOW'))->format('Y-m-d\TH:i:s')); ?>">
|
||||||
<tr><td><label for="iTo"><?= $this->getHtml('To'); ?></label>
|
<tr><td><label for="iTo"><?= $this->getHtml('To'); ?></label>
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
<label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
||||||
<input type="text" id="iTitle" name="title" placeholder=" <?= $this->getHtml('Title'); ?>" required>
|
<input type="text" id="iTitle" name="title" placeholder="<?= $this->getHtml('Title'); ?>" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
@ -80,7 +80,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iMedia"><?= $this->getHtml('Media'); ?></label>
|
<label for="iMedia"><?= $this->getHtml('Media'); ?></label>
|
||||||
<div class="ipt-wrap wf-100">
|
<div class="ipt-wrap wf-100">
|
||||||
<div class="ipt-first"><input type="text" id="iMedia" name="mediaFile" placeholder=" File"></div>
|
<div class="ipt-first"><input type="text" id="iMedia" name="mediaFile" placeholder="File"></div>
|
||||||
<div class="ipt-second"><button><?= $this->getHtml('Select'); ?></button></div>
|
<div class="ipt-second"><button><?= $this->getHtml('Select'); ?></button></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,8 @@ echo $this->data['nav']->render(); ?>
|
||||||
<div class="tabview tab-2">
|
<div class="tabview tab-2">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab-1"><?= $this->getHtml('Overview'); ?></label></li>
|
<li><label for="c-tab-1"><?= $this->getHtml('Overview'); ?></label>
|
||||||
<li><label for="c-tab-2"><?= $this->getHtml('Unread'); ?></label></li>
|
<li><label for="c-tab-2"><?= $this->getHtml('Unread'); ?></label>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
|
|
@ -75,7 +75,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<?= $this->getHtml('P' . $task->getPriority()); ?>
|
<?= $this->getHtml('P' . $task->getPriority()); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</a>
|
</a>
|
||||||
<td><?= ($this->data['task_media'][$task->id] ?? false) === true ? '<i class="g-icon">link</i>' : ''; ?>
|
<td><?= ($this->data['task_media'][$task->id] ?? false) === true ? '<i class="g-icon">attachment</i>' : ''; ?>
|
||||||
<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'); ?>">
|
||||||
|
|
@ -95,7 +95,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
$task->createdBy->name1,
|
$task->createdBy->name1,
|
||||||
$task->createdBy->name2,
|
$task->createdBy->name2,
|
||||||
$task->createdBy->name3,
|
$task->createdBy->name3,
|
||||||
$task->createdBy->login ?? ''
|
$task->createdBy->login ?? '',
|
||||||
])
|
])
|
||||||
); ?>
|
); ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -149,7 +149,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<?= $this->getHtml('P' . $task->getPriority()); ?>
|
<?= $this->getHtml('P' . $task->getPriority()); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</a>
|
</a>
|
||||||
<td><?= ($this->data['task_media'][$task->id] ?? false) === true ? '<i class="g-icon">link</i>' : ''; ?>
|
<td><?= ($this->data['task_media'][$task->id] ?? false) === true ? '<i class="g-icon">attachment</i>' : ''; ?>
|
||||||
<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'); ?>">
|
||||||
|
|
@ -169,7 +169,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
$task->createdBy->name1,
|
$task->createdBy->name1,
|
||||||
$task->createdBy->name2,
|
$task->createdBy->name2,
|
||||||
$task->createdBy->name3,
|
$task->createdBy->name3,
|
||||||
$task->createdBy->login ?? ''
|
$task->createdBy->login ?? '',
|
||||||
])
|
])
|
||||||
); ?>
|
); ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -228,7 +228,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<?= $this->getHtml('P' . $task->getPriority()); ?>
|
<?= $this->getHtml('P' . $task->getPriority()); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</a>
|
</a>
|
||||||
<td><?= ($this->data['task_media'][$task->id] ?? false) === true ? '<i class="g-icon">link</i>' : ''; ?>
|
<td><?= ($this->data['task_media'][$task->id] ?? false) === true ? '<i class="g-icon">attachment</i>' : ''; ?>
|
||||||
<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'); ?>">
|
||||||
|
|
@ -248,7 +248,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
$task->createdBy->name1,
|
$task->createdBy->name1,
|
||||||
$task->createdBy->name2,
|
$task->createdBy->name2,
|
||||||
$task->createdBy->name3,
|
$task->createdBy->name3,
|
||||||
$task->createdBy->login ?? ''
|
$task->createdBy->login ?? '',
|
||||||
])
|
])
|
||||||
); ?>
|
); ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -313,7 +313,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<?= $this->getHtml('P' . $task->getPriority()); ?>
|
<?= $this->getHtml('P' . $task->getPriority()); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</a>
|
</a>
|
||||||
<td><?= ($this->data['task_media'][$task->id] ?? false) === true ? '<i class="g-icon">link</i>' : ''; ?>
|
<td><?= ($this->data['task_media'][$task->id] ?? false) === true ? '<i class="g-icon">attachment</i>' : ''; ?>
|
||||||
<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'); ?>">
|
||||||
|
|
@ -333,7 +333,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
$task->createdBy->name1,
|
$task->createdBy->name1,
|
||||||
$task->createdBy->name2,
|
$task->createdBy->name2,
|
||||||
$task->createdBy->name3,
|
$task->createdBy->name3,
|
||||||
$task->createdBy->login ?? ''
|
$task->createdBy->login ?? '',
|
||||||
])
|
])
|
||||||
); ?>
|
); ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
|
|
@ -409,7 +409,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iMedia"><?= $this->getHtml('Media'); ?></label>
|
<label for="iMedia"><?= $this->getHtml('Media'); ?></label>
|
||||||
<div class="ipt-wrap wf-100">
|
<div class="ipt-wrap wf-100">
|
||||||
<div class="ipt-first"><input type="text" id="iMedia" placeholder=" File"></div>
|
<div class="ipt-first"><input type="text" id="iMedia" placeholder="File"></div>
|
||||||
<div class="ipt-second"><button><?= $this->getHtml('Select'); ?></button></div>
|
<div class="ipt-second"><button><?= $this->getHtml('Select'); ?></button></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user