Commit e0f1baef authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #21 from cividesk/master

Correcting templates
parents e01b837c 84d50908
......@@ -31,17 +31,17 @@
<th class="label">{ts}Event{/ts}</th>
<th class="label">{ts}Membership{/ts}</th>
<th class="label">{ts}Date{/ts}</th>
<tr>
{foreach from=$rows item=row}
{if $row}
<td><a href='{crmURL p='civicrm/contact/view' q="cid=`$row.contact_id`&reset=1"}'>{$row.display_name}</a>&nbsp;&nbsp;(ID:{$row.contact_id}
)
</td>
</tr>
{foreach from=$rows item=row}
{if $row}
<tr>
<td><a href='{crmURL p='civicrm/contact/view' q="cid=`$row.contact_id`&reset=1"}'>{$row.display_name}</a>&nbsp;&nbsp;(ID:{$row.contact_id})</td>
<td>{$row.event_title}</td>
<td>{$row.membership_title}</td>
<td>{$row.used_date|crmDate}</td>
{/if}
{/foreach}
</tr>
{/if}
{/foreach}
</tr>
</table>
</div>
......@@ -34,9 +34,10 @@
<th class="label">{ts}Membership{/ts}</th>
<th class="label">{ts}Date{/ts}</th>
<th class="label">{ts}Code{/ts}</th>
<tr>
{foreach from=$rows item=row}
{if $row}
</tr>
{foreach from=$rows item=row}
{if $row}
<tr>
{if $hide_contact === NULL}
{assign var='urlParams' value="cid=`$row.contact_id`&reset=1"}
<td>
......@@ -47,8 +48,9 @@
<td>{$row.membership_title}</td>
<td>{$row.used_date|crmDate}</td>
<td>{$row.code}</td>
{/if}
{/foreach}
</tr>
{/if}
{/foreach}
</tr>
</table>
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment