mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
tpl fixes, dont use printHtml for none-string types
This commit is contained in:
parent
e7ed48941c
commit
3279c46093
|
|
@ -1,13 +1,13 @@
|
|||
<div class="ipt-wrap">
|
||||
<div class="ipt-first">
|
||||
<span class="input">
|
||||
<div class="advancedSelect" id="<?= $this->printHtml($this->getId()); ?>"
|
||||
<div class="advancedSelect" id="<?= $this->getId(); ?>"
|
||||
data-search="true"
|
||||
data-multiple="false"
|
||||
data-src="api/admin/find/accgrp?search={!#i<?= $this->printHtml($this->getId()); ?>}">
|
||||
data-src="api/admin/find/accgrp?search={!#i<?= $this->getId(); ?>}">
|
||||
<template><!-- Template for the selected element --></template>
|
||||
</div>
|
||||
<div id="<?= $this->printHtml($this->getId()); ?>-dropdown" class="dropdown" data-active="true" data-selected="<?= $task->getStatus(); ?>">
|
||||
<div id="<?= $this->getId(); ?>-dropdown" class="dropdown" data-active="true" data-selected="<?= $task->getStatus(); ?>">
|
||||
<template class="rowTemplate"><!-- Template for remote data or data manually to be added --></template>
|
||||
<tr><td data-value="<?= TaskStatus::OPEN; ?>"><?= $this->getHtml('S1'); ?>
|
||||
<tr><td data-value="<?= TaskStatus::WORKING; ?>"><?= $this->getHtml('S2'); ?>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input id="iCreateSubmit" type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||
<input type="hidden" name="type" value="<?= $this->printHtml(TaskType::SINGLE); ?>">
|
||||
<input type="hidden" name="type" value="<?= TaskType::SINGLE; ?>">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?= $this->printHtml($task->getCreatedBy()->name1); ?> - <?= $this->printHtml($task->createdAt->format('Y/m/d H:i')); ?>
|
||||
</span>
|
||||
<span class="col-xs end-xs plain-grid">
|
||||
<span id="task-status-badge" class="nobreak tag task-status-<?= $this->printHtml($task->getStatus()); ?>">
|
||||
<span id="task-status-badge" class="nobreak tag task-status-<?= $task->getStatus(); ?>">
|
||||
<?= $this->getHtml('S' . $task->getStatus()); ?>
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user