From 240c4870cfa43dea222ed52d4ce57b6ac186588d Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 11 Jan 2017 15:38:37 -0800 Subject: [PATCH] FIX: add noopener to website field in user profile --- .../discourse/templates/components/user-card-contents.hbs | 2 +- app/assets/javascripts/discourse/templates/user.hbs | 2 +- app/assets/javascripts/discourse/templates/user/summary.hbs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs index a38acddd1d8..a7041a50657 100644 --- a/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs +++ b/app/assets/javascripts/discourse/templates/components/user-card-contents.hbs @@ -78,7 +78,7 @@ {{fa-icon "globe"}} {{#if linkWebsite}} - {{user.website_name}} + {{user.website_name}} {{else}} {{user.website_name}} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/user.hbs b/app/assets/javascripts/discourse/templates/user.hbs index de997c39fda..1f91c199930 100644 --- a/app/assets/javascripts/discourse/templates/user.hbs +++ b/app/assets/javascripts/discourse/templates/user.hbs @@ -72,7 +72,7 @@ {{#if model.website_name}} {{fa-icon "globe"}} {{#if linkWebsite}} - {{model.website_name}} + {{model.website_name}} {{else}} {{model.website_name}} {{/if}} diff --git a/app/assets/javascripts/discourse/templates/user/summary.hbs b/app/assets/javascripts/discourse/templates/user/summary.hbs index ceae695ecb1..5dfd55a16a2 100644 --- a/app/assets/javascripts/discourse/templates/user/summary.hbs +++ b/app/assets/javascripts/discourse/templates/user/summary.hbs @@ -106,7 +106,7 @@ {{shorten-url link.url}}