Commit 0da9f787 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Tidy up profile view in view user

parent b04a2227
......@@ -62,6 +62,7 @@ $string['occupation'] = 'Occupation';
$string['industry'] = 'Industry';
// Field names for view user and search user display
$string['profile'] = 'Profile';
$string['name'] = 'Name';
$string['principalemailaddress'] = 'Principal email';
$string['emailaddress'] = 'Alternative email';
......
......@@ -11,14 +11,16 @@
{/foreach}
</tbody></table>
<table><tbody>
{foreach from=$PROFILE key=key item=item name=profile}
{if $smarty.foreach.profile.first}
<tr><th>{str section=artefact.internal tag=profile}</th></tr>
<h4>{str section=artefact.internal tag=profile}</h4>
<table><tbody>
{/if}
<tr><td>{str section=artefact.internal tag=$key}</td><td>{$item}</td></tr>
{/foreach}
{if $smarty.foreach.profile.last}
</tbody></table>
{/if}
{/foreach}
</div>
......
Markdown is supported
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