]> git.mxchange.org Git - friendica.git/commitdiff
Templete adjustment
authorAdam Magness <adam.magness@gmail.com>
Thu, 7 Dec 2017 14:35:24 +0000 (09:35 -0500)
committerAdam Magness <adam.magness@gmail.com>
Thu, 7 Dec 2017 14:35:24 +0000 (09:35 -0500)
based on errors that were showing up in the debugger console on chrome

view/theme/frio/templates/contact_template.tpl

index 4d3be769ba7b2a10535e18858fb3f3744ec34d4b..2824ff22b9bbc889a13446ac5f8b48cfa4d83415 100644 (file)
@@ -139,7 +139,7 @@ We use this part to filter the contacts with jquery.textcomplete *}}
 
                                        <button type="button" class="btn btn-link dropdown-toggle" id="contact-photo-menu-{$id}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                                <div class="contact-photo-image-wrapper hidden-xs">
-                                                       <img class="contact-photo media-object xl" src="{$thumb}" {11} alt="{$name}" />
+                                                       <img class="contact-photo media-object xl" src="{{$contact.thumb}}" {11} alt="{{$contact.name}}" />
 
                                                        {{* Overlay background on hover the avatar picture *}}
                                                        <div class="contact-photo-overlay">
@@ -149,7 +149,7 @@ We use this part to filter the contacts with jquery.textcomplete *}}
 
                                                {{* use a smaller picture on very small displays (e.g. mobiles) *}}
                                                <div class="contact-photo-image-wrapper hidden-lg hidden-md hidden-sm">
-                                                       <img class="contact-photo-xs media-object" src="{$thumb}" {11} alt="{$name}" />
+                                                       <img class="contact-photo-xs media-object" src="{{$contact.thumb}}" {11} alt="{{$contact.name}}" />
 
                                                        {{* Overlay background on hover the avatar picture *}}
                                                        <div class="contact-photo-overlay">