]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/templates/profile_vcard.tpl
removed old comment that is no longer true
[friendica.git] / view / theme / vier / templates / profile_vcard.tpl
index 0a546425287919ca2e3c1bc0be24c35476a4d446..669acbef7f9c771be2049bba1010a2b4db503208 100644 (file)
@@ -1,8 +1,4 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
+
 <div class="vcard">
 
        <div class="tool">
                        </ul>
                        </div>
                {{else}}
-                       <div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles" ></a></div>
+                       {{if $profile.menu}}
+                               <div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles" ></a></div>
+                       {{/if}}
                {{/if}}
        </div>
 
-
-       <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
+       {{if $profile.picdate}}
+               <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
+       {{else}}
+               <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></div>
+       {{/if}}
        {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
 
-
+       {{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
        {{if $location}}
                <dl class="location"><dt class="location-label">{{$location}}</dt><br> 
                <dd class="adr">
@@ -39,9 +40,9 @@
                        <span class="city-state-zip">
                                <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
                                <span class="region">{{$profile.region}}</span>
-                               <span class="postal-code">{{$profile.postal-code}}</span>
+                               <span class="postal-code">{{$profile.postal_code}}</span>
                        </span>
-                       {{if $profile.country-name}}<span class="country-name">{{$profile.country-name}}</span>{{/if}}
+                       {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}}
                </dd>
                </dl>
        {{/if}}
        <div id="profile-extra-links">
                <ul>
                        {{if $connect}}
-                               <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+                               {{if $remoteconnect}}
+                                       <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
+                               {{else}}
+                                       <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+                               {{/if}}
                        {{/if}}
                </ul>
        </div>