{** * templates/controllers/grid/common/cell/statusCell.tpl * * Copyright (c) 2014-2019 Simon Fraser University * Copyright (c) 2000-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * a regular grid cell (with or without actions) *} {assign var=cellId value="cell-"|concat:$id} {if count($actions) gt 0} {assign var=defaultCellAction value=$actions[0]} {* TODO imageClass doesn't appear to be used. Perhaps it should be image, or maybe it can be removed. *} {include file="linkAction/linkAction.tpl" action=$defaultCellAction contextId=$cellId imageClass="task"} {elseif $status} {capture assign="statusTitle"}{translate key="grid.task.status."|concat:$status}{/capture} status {/if}