aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/direntry.tpl
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-11-09 16:08:22 +1100
committerRedMatrix <info@friendica.com>2014-11-09 16:08:22 +1100
commit3730abb13a2839ed68f73f2c94960d2e9f654305 (patch)
treebe9c37712e272d080ebcdf1b209c3c7ef85d59fa /view/tpl/direntry.tpl
parent7a8842f4431a875d939722693b73baa99ccf53bc (diff)
parent28f3d7be5a104bc1f1e1eff2e22fd19b4ab3a2d1 (diff)
downloadvolse-hubzilla-3730abb13a2839ed68f73f2c94960d2e9f654305.tar.gz
volse-hubzilla-3730abb13a2839ed68f73f2c94960d2e9f654305.tar.bz2
volse-hubzilla-3730abb13a2839ed68f73f2c94960d2e9f654305.zip
Merge pull request #681 from pafcu/master
New layout for directory
Diffstat (limited to 'view/tpl/direntry.tpl')
-rwxr-xr-xview/tpl/direntry.tpl23
1 files changed, 19 insertions, 4 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl
index a6252bb9a..691905ecd 100755
--- a/view/tpl/direntry.tpl
+++ b/view/tpl/direntry.tpl
@@ -3,12 +3,27 @@
<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$entry.id}}" >
<div class="contact-photo" id="directory-photo-{{$entry.id}}" >
<a href="{{$entry.profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$entry.id}}" ><img class="directory-photo-img" src="{{$entry.photo}}" alt="{{$entry.alttext}}" title="{{$entry.alttext}}" /></a>
-</div>
-</div>
-
-<div class="contact-name" id="directory-name-{{$entry.id}}" ><span onclick="dirdetails('{{$entry.hash}}');" class="fakelink" >{{$entry.name}}</span></div>
{{if $entry.connect}}
<div class="directory-connect btn btn-default"><a href="{{$entry.connect}}"><i class="icon-plus connect-icon"></i> {{$entry.conn_label}}</a></div>
{{/if}}
+</div>
+</div>
+
+<div class='contact-info'>
+<div class="contact-name" id="directory-name-{{$entry.id}}" ><a href='{{$entry.profile_link}}' >{{$entry.name}}</a>{{if $entry.online}} <i class="icon-asterisk online-now" title="{{$entry.online}}"></i>{{/if}}</div>
+
<div class="contact-details">{{$entry.details}}</div>
+{{if $entry.hometown}}
+<div class="directory-hometown">{{$entry.hometown}} </div>
+{{/if}}
+{{if $entry.about}}
+<div class="directory-about">{{$entry.about}} </div>
+{{/if}}
+{{if $entry.homepage}}
+<div class="directory-homepage">{{$entry.homepage}}<a href='{{$entry.homepageurl}}'>{{$entry.homepageurl}}</a> </div>
+{{/if}}
+{{if $entry.kw}}
+<div class="directory-keywords">{{$entry.kw}} {{$entry.keywords}}</div>
+{{/if}}
+</div>
</div>