aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/direntry.tpl
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-08-24 17:01:39 +0100
committerThomas Willingham <founder@kakste.com>2013-08-24 17:01:39 +0100
commit6999fb586ba90e9f1c79e9f09f4035f63fb925fd (patch)
tree63a03ab3527aa6a329550894f87f6ce8157493fd /view/tpl/direntry.tpl
parent608e04c65eb2433a1cece9b5798f8577b611a288 (diff)
downloadvolse-hubzilla-6999fb586ba90e9f1c79e9f09f4035f63fb925fd.tar.gz
volse-hubzilla-6999fb586ba90e9f1c79e9f09f4035f63fb925fd.tar.bz2
volse-hubzilla-6999fb586ba90e9f1c79e9f09f4035f63fb925fd.zip
Generic wrapper classes makes themeing loads easier
Diffstat (limited to 'view/tpl/direntry.tpl')
-rwxr-xr-xview/tpl/direntry.tpl23
1 files changed, 13 insertions, 10 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl
index c6c0ab028..35bbbe0fd 100755
--- a/view/tpl/direntry.tpl
+++ b/view/tpl/direntry.tpl
@@ -1,13 +1,16 @@
<div class="directory-item lframe" id="directory-item-{{$entry.id}}" >
- <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="generic-content-wrapper">
- <div class="contact-name" id="directory-name-{{$entry.id}}">{{$entry.name}}</div>
- {{if $entry.connect}}
- <div class="directory-connect"><a href="{{$entry.connect}}">{{$entry.conn_label}}</a></div>
- {{/if}}
- <div class="contact-details">{{$entry.details}}</div>
+<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}}">{{$entry.name}}</div>
+{{if $entry.connect}}
+<div class="directory-connect"><a href="{{$entry.connect}}">{{$entry.conn_label}}</a></div>
+{{/if}}
+<div class="contact-details">{{$entry.details}}</div>
+</div>
</div>