mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Updated logic for showing member profile attribution
refs https://github.com/TryGhost/Team/issues/1953
This commit is contained in:
parent
6461e814db
commit
81e15f823b
@ -66,15 +66,19 @@
|
||||
</div>
|
||||
{{#if (feature 'sourceAttribution')}}
|
||||
<div class="gh-member-details-attribution">
|
||||
<h4 class="gh-main-section-header small bn">Signup source</h4>
|
||||
<h4 class="gh-main-section-header small bn">Attribution</h4>
|
||||
{{#if (and @member.attribution.url @member.attribution.title)}}
|
||||
<p>
|
||||
{{svg-jar "posts"}}
|
||||
Signed up on <a href="{{@member.attribution.url}}" target="_blank" rel="noopener noreferrer" title="{{ @member.attribution.title }}">{{ @member.attribution.title }}</a>
|
||||
</p>
|
||||
{{/if}}
|
||||
{{#unless (eq this.referrerAttribution.source "Unknown")}}
|
||||
<p>
|
||||
{{svg-jar "earth"}}
|
||||
Coming from <p title="Social: Twitter">{{this.referrerAttribution.source}} / {{this.referrerAttribution.medium}}</p>
|
||||
Coming from <p title="{{this.referrerAttribution.source}}">{{this.referrerAttribution.source}}</p>
|
||||
</p>
|
||||
{{/unless}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user