diff --git a/rpg-docs/client/views/layout/layout.js b/rpg-docs/client/views/layout/layout.js
index 0134cec3..2cd4ba4e 100644
--- a/rpg-docs/client/views/layout/layout.js
+++ b/rpg-docs/client/views/layout/layout.js
@@ -9,7 +9,11 @@ Template.layout.destroyed = function() {
Template.layout.helpers({
notSelected: function(){
return Session.get("global.ui.detailShow") ? "not-selected" : null;
- }
+ },
+ profileLink: function() {
+ var user = Meteor.user();
+ return user.profile && user.profile.username || user.username || "My Account";
+ },
});
Template.layout.events({
diff --git a/rpg-docs/client/views/user/profile/profile.html b/rpg-docs/client/views/user/profile/profile.html
index b35bff82..4e87f4c6 100644
--- a/rpg-docs/client/views/user/profile/profile.html
+++ b/rpg-docs/client/views/user/profile/profile.html
@@ -3,11 +3,7 @@
- {{#if username}}
- {{username}}
- {{else}}
- Tap to set username
- {{/if}}
+ {{profileName}}