0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-22 07:52:36 +00:00
salesagility_SuiteCRM/modules/Surveys/tpls/Reports/other.tpl
2018-02-21 16:03:18 +00:00

35 lines
1.1 KiB
Smarty

<div>
<table id="{$question.id}List" style="display: none; width:33%" class="table table-bordered">
<tr>
<th>
{$mod.LBL_RESPONSE_ANSWER}
</th>
<th>
{$mod.LBL_RESPONSE_CONTACT}
</th>
<th>
{$mod.LBL_RESPONSE_TIME}
</th>
</tr>
{foreach from=$question.responses item=response}
<tr>
<td>
{$response.answer}
</td>
<td>
{if $response.contact}
<a href="index.php?module=Contacts&action=DetailView&record={$response.contact.id}">
{$response.contact.name}
</a>
{else}
{$mod.LBL_UNKNOWN_CONTACT}
{/if}
</td>
<td>
{$response.time}
</td>
</tr>
{/foreach}
</table>
<a href="#" class="showHideResponses" data-question-id="{$question.id}">{$mod.LBL_SHOW_RESPONSES}</a>
</div>