1
0
Fork 0

Merge pull request #12194 from MrPetovan/bug/12193-contact_template

Replace remaining references to contact_template.tpl by contact/entry.tpl
This commit is contained in:
Philipp 2022-11-16 22:30:19 +01:00 committed by GitHub
commit fa675de710
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 10 deletions

View file

@ -1,6 +1,6 @@
<h1>{{$l10n.header}}</h1>
{{include file="contact_template.tpl" no_contacts_checkbox=True}}
{{include file="contact/entry.tpl" no_contacts_checkbox=True}}
{{include file="confirm.tpl"}}

View file

@ -22,7 +22,7 @@
<div id="directory-search-end"></div>
{{foreach $contacts as $contact}}
{{include file="contact_template.tpl"}}
{{include file="contact/entry.tpl"}}
{{/foreach}}
<div class="directory-end"></div>

View file

@ -2,12 +2,8 @@
<h1>{{$header}}</h1>
{{foreach $contacts as $contact}}
{{include file="contact_template.tpl"}}
{{include file="contact/entry.tpl"}}
{{/foreach}}
<div id="contact-edit-end"></div>
{{$paginate nofilter}}

View file

@ -10,7 +10,7 @@
{{if $contacts}}
<div id="viewcontact_wrapper-{{$id}}">
{{foreach $contacts as $contact}}
{{include file="contact_template.tpl"}}
{{include file="contact/entry.tpl"}}
{{/foreach}}
</div>
{{else}}

View file

@ -179,7 +179,7 @@ function frio_contact_photo_menu(App $a, &$args)
// Add to pm link a new key with the value 'modal'.
// Later we can make conditions in the corresponding templates (e.g.
// contact_template.tpl)
// contact/entry.tpl)
if (strpos($pmlink, 'message/new/' . $cid) !== false) {
$args['menu']['pm'][3] = 'modal';
}