contact page: show a forum symbol if contact is a forum
This commit is contained in:
parent
414d353e11
commit
438427ebf4
|
@ -41,6 +41,8 @@
|
||||||
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >
|
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >
|
||||||
<h4 class="media-heading">{{$contact.name}}
|
<h4 class="media-heading">{{$contact.name}}
|
||||||
{{if $contact.account_type}} <small class="contact-entry-details" id="contact-entry-accounttype-{{$contact.id}}">({{$contact.account_type}})</small>{{/if}}
|
{{if $contact.account_type}} <small class="contact-entry-details" id="contact-entry-accounttype-{{$contact.id}}">({{$contact.account_type}})</small>{{/if}}
|
||||||
|
{{if $contact.account_type == 'Forum'}}<i class="fa fa-comments-o" aria-hidden="true"></i>{{/if}}
|
||||||
|
{{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}}
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
{{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
|
{{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user