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