]> git.mxchange.org Git - friendica.git/commitdiff
Fix labels in contact request modal
authorDamian Wajer <damian@damianwajer.com>
Wed, 25 Jan 2023 18:05:42 +0000 (19:05 +0100)
committerDamian Wajer <damian@damianwajer.com>
Wed, 25 Jan 2023 18:05:42 +0000 (19:05 +0100)
Fixes https://github.com/friendica/friendica/issues/12709

view/theme/frio/templates/notifications/intros.tpl

index 3f100eb0bf9b4781db13f9e17443a17ed1afa030..96fca8ee3c9fce1bbffd0a06aa38ed31670a8d1b 100644 (file)
@@ -59,8 +59,7 @@
 
                {{* This sections contains special settings for contact approval. We hide it by default and load this section in
                a bootstrap modal in the case of approval *}}
-               <div id="intro-approve-wrapper-{{$intro_id}}" style="display: none;">
-
+               <template id="intro-approve-wrapper-{{$intro_id}}" style="display: none;">
                        <h3 class="heading">{{$fullname}}{{if $addr}}&nbsp;({{$addr}}){{/if}}</h3>
                        <form class="intro-approve-form" {{if $request}}action="{{$request}}" method="get"{{else}}action="{{$action}}" method="post"{{/if}}>
                                {{if $type != "friend_suggestion"}}
@@ -83,7 +82,7 @@
                                </div>
                                <div class="clear"></div>
                        </form>
-               </div>
+               </template>
        </div>
 </div>
 <div class="intro-end"></div>