]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/contact_template.tpl
Decaf mobile: an (almost) Javascript-free theme
[friendica.git] / view / theme / quattro / contact_template.tpl
index b826acc65d5c607acb7a60b752988a4ced8f5706..485ee6cac04761f8574692dfd6b0e0ee95df2419 100644 (file)
                        {{ if $contact.photo_menu }}
                        <a href="#" rel="#contact-photo-menu-$contact.id" class="contact-photo-menu-button icon s16 menu" id="contact-photo-menu-button-$contact.id">menu</a>
                        <ul class="contact-photo-menu menu-popup" id="contact-photo-menu-$contact.id">
-                               $contact.photo_menu
+                               {{ for $contact.photo_menu as $c }}
+                               {{ if $c.2 }}
+                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                               {{ else }}
+                               <li><a href="$c.1">$c.0</a></li>
+                               {{ endif }}
+                               {{ endfor }}
                        </ul>
                        {{ endif }}
                </div>