Skip to content

Commit

Permalink
Add first registered to profile summary
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewis-everley committed Apr 28, 2018
1 parent be265af commit fdc87b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ en:
DETAILSUPDATED: 'Account details updated'
EDITDETAILS: 'Edit account details'
EditAccountDetails: 'Edit account details'
FirstRegistered: 'First Registered'
HELLO: Hi
LOGIN: 'Log in'
LOGOUT: Logout
Expand Down
7 changes: 4 additions & 3 deletions templates/Includes/UsersProfileSummary.ss
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<% with $CurrentUser %>
<div class="users-profile-summary">
<p>
<strong><% _t('Member.FIRSTNAME',"First Name") %></strong> $FirstName<br/>
<strong><% _t('Member.SURNAME',"Surname") %></strong> $Surname<br/>
<strong><% _t("Member.EMAIL","Email") %></strong> $Email<br/>
<strong><%t Member.FIRSTNAME "First Name" %></strong> $FirstName<br/>
<strong><%t Member.SURNAME "Surname" %></strong> $Surname<br/>
<strong><%t Member.EMAIL "Email" %></strong> $Email<br/>
<strong><%t Users.FirstRegistered "First Registered" %></strong> $Created.Ago<br/>
</p>
</div>
<% end_with %>

0 comments on commit fdc87b2

Please sign in to comment.