]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/templates/contact_edit.tpl
Merge pull request #4892 from MrPetovan/bug/infinite-loop-in-dba-delete
[friendica.git] / view / theme / vier / templates / contact_edit.tpl
index 9dc11a31c2e29bf077a272b99d32504950b7c595..d5708bd568909bb0b520a94479f437a78051aa92 100644 (file)
@@ -40,7 +40,8 @@
 
                                                {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
                                                {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
-                                               {{if $blocked}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
+                                               {{if $blocked && !$pending}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
+                                               {{if $pending}}<li><div id="pending-message">{{$pending}}</div></li>{{/if}}
                                                {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
                                                {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
                                        </ul>
                                </div>
                                <div id="contact-edit-info-end"></div>
 
+                               {{if $reason}}
+                               <div id="contact-info-wrapper">
+                                       <h4>{{$lbl_info2}}</h4>
+                                       <p>{{$reason}}</p>
+                               </div>
+                               <div id="contact-info-end"></div>
+                               {{/if}}
+
                                {{if $profile_select}}
                                        <div id="contact-edit-profile-select-text">
                                        <h4>{{$lbl_vis1}}</h4>