From 696a7e2c4daae0ed93eebc51e99fc695d85da116 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Thu, 29 May 2014 01:12:47 -0700 Subject: [PATCH] add location field to user card expansion --- .../javascripts/discourse/templates/poster_expansion.handlebars | 1 + .../javascripts/discourse/templates/user/user.js.handlebars | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/poster_expansion.handlebars b/app/assets/javascripts/discourse/templates/poster_expansion.handlebars index 65d733dcf7e..48d92ea151c 100644 --- a/app/assets/javascripts/discourse/templates/poster_expansion.handlebars +++ b/app/assets/javascripts/discourse/templates/poster_expansion.handlebars @@ -23,6 +23,7 @@ {{#if user}}
+ {{#if user.location}}

{{{user.location}}}

{{/if}}

{{i18n last_post}} {{unboundDate path="user.last_posted_at" leaveAgo="true"}}

{{i18n joined}} {{unboundDate path="user.created_at" leaveAgo="true"}}

{{groups-list groups=user.custom_groups}} diff --git a/app/assets/javascripts/discourse/templates/user/user.js.handlebars b/app/assets/javascripts/discourse/templates/user/user.js.handlebars index 90d8f305a18..1acd48aac04 100644 --- a/app/assets/javascripts/discourse/templates/user/user.js.handlebars +++ b/app/assets/javascripts/discourse/templates/user/user.js.handlebars @@ -87,7 +87,7 @@
{{#if location}} -
{{i18n user.location}}
{{location}}
+
{{location}}
{{/if}} {{#if websiteName}}
{{i18n user.website}}
{{websiteName}}