diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js
index aa55d739..d7be14d0 100644
--- a/javascript/LeftAndMain.js
+++ b/javascript/LeftAndMain.js
@@ -99,9 +99,17 @@ Behaviour.register({
w.focus();
return false;
}
+ },
+
+ '#EditMemberProfile': {
+ onclick: function(e) {
+ var el = Event.element(e);
+ GB_show('Edit Profile', el.attributes.href.value, ComplexTableField.prototype.popupHeight, ComplexTableField.prototype.popupWidth);
+ Event.stop(e);
+ }
}
-})
+});
diff --git a/templates/LeftAndMain.ss b/templates/LeftAndMain.ss
index 150f0d0f..8473fe16 100644
--- a/templates/LeftAndMain.ss
+++ b/templates/LeftAndMain.ss
@@ -39,7 +39,7 @@
Silverstripe CMS -
$ApplicationName <% _t('APPVERSIONTEXT2',"version that you are currently running, technically it's the CVS branch") %>">$CMSVersion
<% control CurrentMember %>
- <% _t('LOGGEDINAS','Logged in as') %> $FirstName $Surname - <% _t('LOGOUT','log out') %>
+ <% _t('LOGGEDINAS','Logged in as') %> $FirstName $Surname - <% _t('EDITPROFILE') %> - <% _t('LOGOUT','log out') %>
<% end_control %>