]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/profile_vcard.tpl
Merge pull request #5224 from rabuzarus/20180615_-_frio_frix_js_error_callAddonHooks
[friendica.git] / view / theme / frio / templates / profile_vcard.tpl
index e0babdc3a53de333f55a0d603bf5b1d1e98db0ac..831c47171d6503b509bd61d926ae8ab786037b0e 100644 (file)
                                {{/if}}
                        {{/if}}
                        </div>
-               
+
                </div>
 
+       {{* The short information which will appended to the second navbar by scrollspy *}}
+       <div id="vcard-short-info-wrapper" style="display: none;">
+               <div id="vcard-short-info" class="media" style="display: none">
+                       <div id="vcard-short-photo-wrapper" class="pull-left">
+                               <img class="media-object" src="{{$profile.photo}}" alt="{{$profile.name}}" />
+                       </div>
 
+                       <div id="vcard-short-desc" class="media-body">
+                               <h4 class="media-heading">{{$profile.name}}</h4>
+                               {{if $profile.addr}}<div class="vcard-short-addr">{{$profile.addr}}</div>{{/if}}
+                       </div>
+               </div>
+       </div>
 
        <div class="panel-body">
                <div class="profile-header">
                                {{/if}}
                                {{if $wallmessage}}
                                <div id="wallmessage-link-botton">
-                                       <a id="wallmessage-link" class="btn btn-labeled btn-primary btn-sm" onclick="addToModal('{{$wallmessage_link}}')">
+                                       <button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary btn-sm" onclick="openWallMessage('{{$wallmessage_link}}')">
                                                <span class=""><i class="fa fa-envelope"></i></span>
                                                <span class="">{{$wallmessage}}</span>
-                                       </a>
+                                       </button>
                                </div>
                                {{/if}}
-                       
+
                </div>
 
                <div class="clear"></div>
 
                {{if $location}}
                        <div class="location detail">
-                               <span class="location-label icon"><i class="fa fa-map-marker"></i></span> 
+                               <span class="location-label icon"><i class="fa fa-map-marker"></i></span>
                                <span class="adr">
                                        {{if $profile.address}}<span class="street-address p-street-address">{{$profile.address}}</span>{{/if}}
                                        <span class="city-state-zip">
                        </div>
                {{/if}}
 
+               {{if $profile.xmpp}}
+                       <div class="xmpp">
+                               <span class="xmpp-label icon"><i class="fa fa-comments"></i></span>
+                               <span class="xmpp-data">{{$profile.xmpp}}</span>
+                       </div>
+               {{/if}}
 
                {{if $gender}}
                <div class="mf detail">
                        <span class="gender-label icon"><i class="fa fa-venus-mars"></i></span>
-                       <span class="x-gender p-gender-identity">{{$profile.gender}}</span>
+                       <span class="p-gender">{{$profile.gender}}</span>
                </div>
                {{/if}}