UX: show real name on the about page

This commit is contained in:
Arpit Jalan
2015-02-23 20:26:30 +05:30
parent ddb8378ab0
commit b04fae2e2c
4 changed files with 26 additions and 5 deletions
@@ -1,9 +1,7 @@
import ObjectController from 'discourse/controllers/object';
export default ObjectController.extend({
faqOverriden: function() {
return !(this.siteSettings.faq_url.length === 0);
}.property(),
faqOverriden: Ember.computed.gt('siteSettings.faq_url.length', 0),
contactInfo: function() {
if (Discourse.SiteSettings.contact_email) {
@@ -1,4 +1,7 @@
{{#link-to 'user' user.username}}
{{avatar user imageSize="tiny"}}
{{user.username}}
{{#if user.name}}
({{user.name}})
{{/if}}
{{/link-to}}