You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
2.0 KiB

{* $Id$ *}
{if isset($public_tasks)}
{if !isset($tpl_module_title)}{assign var=tpl_module_title value="<a href='tiki-user_tasks.php'>{tr}Public Tasks{/tr}</a>"}{/if}
{tikimodule error=$module_params.error title=$tpl_module_title name="user_tasks_public" flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox notitle=$module_params.notitle}
<div class="table-responsive">
<table class="table">
<tr>
<td class="w-100">
<form class="forms" method="post" action="{$ownurl}">
<select class="form-select" name="user_group">
<option value="">{tr}select{/tr}</option>
{section name=ix loop=$user_groups}
<option value="{$user_groups[ix].groupName|escape}" {if $user_groups[ix].groupName eq $user_group}
selected="selected"
{/if}>{tr}{$user_groups[ix].groupName|escape}{/tr}
</option>
{/section}
</select>
<input type="submit" class="wikiaction btn btn-primary btn-sm" name="modTasksSearch" value="{tr}Go{/tr}" />
</form>
</td>
</tr>
{section name=iix loop=$public_tasks}
<tr>
<td class="prio{$public_tasks[iix].priority}">
{if isset($modTasks[ix].percentage)}({$public_tasks[iix].percentage}%) {/if}{$public_tasks[iix].taskId|tasklink:linkmodule}
<br>{$public_tasks[iix].user|username}
</td>
</tr>
{sectionelse}
<tr>
<td class="module">&nbsp;</td>
</tr>
{/section}
</table>
</div>
{/tikimodule}
{/if}