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,8 +1,8 @@
<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"}}
<div class="clear"></div>
<div class="clear"></div>

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';
}