]> git.mxchange.org Git - friendica.git/commitdiff
contact page: show a forum symbol if contact is a forum
authorrabuzarus <>
Wed, 20 Apr 2016 19:10:39 +0000 (21:10 +0200)
committerrabuzarus <>
Wed, 20 Apr 2016 19:10:39 +0000 (21:10 +0200)
templates/contact_template.tpl

index 31d7971ac3b018eb81d9af0decb390a428df8625..a04d8156fc57ab16ba40cfb67902c1e5dad55076 100644 (file)
@@ -41,6 +41,8 @@
                                <div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >
                                        <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 == '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>
                                </div>
                                {{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}