UX: show real name on the about page
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user