mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-26 17:29:53 +01:00
don't show profile fields if they are hidden. closes #660. also added missing language keys to EN
This commit is contained in:
@@ -32,5 +32,8 @@
|
||||
"show_email": "Show My Email",
|
||||
|
||||
"has_no_follower": "This user doesn't have any followers :(",
|
||||
"follows_no_one": "This user isn't following anyone :("
|
||||
"follows_no_one": "This user isn't following anyone :(",
|
||||
|
||||
"email_hidden": "Email Hidden",
|
||||
"hidden": "hidden"
|
||||
}
|
||||
|
||||
@@ -29,25 +29,39 @@
|
||||
<div class="col-md-4">
|
||||
<div class="inline-block">
|
||||
<div class="account-bio-block">
|
||||
<span class="account-bio-label">[[user:email]]</span><i class="fa fa-eye-slash {emailClass}" title="Email hidden"></i>
|
||||
<span class="account-bio-label">[[user:email]]</span><i class="fa fa-eye-slash {emailClass}" title="[[user:email_hidden]]"></i>
|
||||
<!-- IF email -->
|
||||
<span>{email}</span>
|
||||
<!-- ELSE -->
|
||||
<i class="fa fa-eye-slash" title="[[user:email_hidden]]"></i> [[user:hidden]]
|
||||
<!-- ENDIF email -->
|
||||
<br/>
|
||||
|
||||
|
||||
<!-- IF fullname -->
|
||||
<span class="account-bio-label">[[user:fullname]]</span>
|
||||
<span>{fullname}</span>
|
||||
<br/>
|
||||
<!-- ENDIF fullname -->
|
||||
|
||||
<!-- IF website -->
|
||||
<span class="account-bio-label">[[user:website]]</span>
|
||||
<span><a href="{website}">{websiteName}</a></span>
|
||||
<br/>
|
||||
<!-- ENDIF website -->
|
||||
|
||||
<!-- IF location -->
|
||||
<span class="account-bio-label">[[user:location]]</span>
|
||||
<span>{location}</span>
|
||||
<br/>
|
||||
<!-- ENDIF location -->
|
||||
|
||||
<!-- IF age -->
|
||||
<span class="account-bio-label">[[user:age]]</span>
|
||||
<span>{age}</span>
|
||||
<br/>
|
||||
<!-- ENDIF age -->
|
||||
|
||||
<hr/>
|
||||
<span class="account-bio-label">[[user:joined]]</span>
|
||||
<span class="timeago" title="{joindate}"></span>
|
||||
@@ -74,10 +88,12 @@
|
||||
<br/>
|
||||
|
||||
<hr/>
|
||||
<!-- IF signature -->
|
||||
<span class="account-bio-label">[[user:signature]]</span>
|
||||
<div class="post-signature">
|
||||
<span id='signature'>{signature}</span>
|
||||
</div>
|
||||
<!-- ENDIF signature -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user