aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/direntry.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-02 12:46:50 -0700
committerzotlabs <mike@macgirvin.com>2017-05-02 12:46:50 -0700
commit80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc (patch)
tree484f2101b78ae16f397310470b7e30f2c03d7b57 /view/tpl/direntry.tpl
parent83c4dd6bda1677a3441d06247ea076094394703e (diff)
downloadvolse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.tar.gz
volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.tar.bz2
volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.zip
Revert "move theme specific files to theme dir"
This reverts commit e332d1074f1b663ec66d37b0f575df2e41d5535c.
Diffstat (limited to 'view/tpl/direntry.tpl')
-rwxr-xr-xview/tpl/direntry.tpl77
1 files changed, 77 insertions, 0 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl
new file mode 100755
index 000000000..f7ec7db23
--- /dev/null
+++ b/view/tpl/direntry.tpl
@@ -0,0 +1,77 @@
+<div class="directory-item{{if $entry.safe}} safe{{/if}}" id="directory-item-{{$entry.hash}}" >
+ <div class="section-subtitle-wrapper clearfix">
+ <div class="pull-right">
+ {{if $entry.viewrate}}
+ {{if $entry.total_ratings}}<a href="ratings/{{$entry.hash}}" id="dir-rating-{{$entry.hash}}" class="btn btn-outline-secondary btn-sm">{{$entry.total_ratings}}</a>{{/if}}
+ {{/if}}
+ {{if $entry.ignlink}}
+ <a class="directory-ignore btn btn-warning btn-sm" href="{{$entry.ignlink}}"> {{$entry.ignore_label}}</a>
+ {{/if}}
+ {{if $entry.connect}}
+ <a class="btn btn-success btn-sm" href="{{$entry.connect}}"><i class="fa fa-plus connect-icon"></i> {{$entry.conn_label}}</a>
+ {{/if}}
+ {{if $entry.viewrate}}
+ {{if $entry.canrate}}<button class="btn btn-outline-secondary btn-sm" onclick="doRatings('{{$entry.hash}}'); return false;" ><i class="fa fa-pencil"></i><span id="edited-{{$entry.hash}}" class="required" id="edited-{{$entry.hash}}" style="display: none;" >&nbsp;*</span></button>{{/if}}
+ {{/if}}
+ </div>
+ <h3>{{if $entry.public_forum}}<i class="fa fa-comments-o" title="{{$entry.forum_label}} @{{$entry.nickname}}+"></i>&nbsp;{{/if}}<a href='{{$entry.profile_link}}' >{{$entry.name}}</a>{{if $entry.online}}&nbsp;<i class="fa fa-asterisk online-now" title="{{$entry.online}}"></i>{{/if}}</h3>
+ </div>
+ <div class="section-content-tools-wrapper directory-collapse">
+ <div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$entry.hash}}" >
+ <div class="contact-photo" id="directory-photo-{{$entry.hash}}" >
+ <a href="{{$entry.profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$entry.hash}}" >
+ <img class="directory-photo-img" src="{{$entry.photo}}" alt="{{$entry.alttext}}" title="{{$entry.alttext}}" />
+ </a>
+ </div>
+ </div>
+ <div class="contact-info">
+ {{if $entry.common_friends}}
+ <div id="dir-common" class="contact-info-element">
+ <span class="contact-info-label">{{$entry.common_label}}</span> {{$entry.common_count}}
+ </div>
+ {{/if}}
+
+ {{if $entry.pdesc}}
+ <div class="contact-info-element">
+ <span class="contact-info-label">{{$entry.pdesc_label}}</span> {{$entry.pdesc}}
+ </div>
+ {{/if}}
+
+ {{if $entry.age}}
+ <div class="contact-info-element">
+ <span class="contact-info-label">{{$entry.age_label}}</span> {{$entry.age}}
+ </div>
+ {{/if}}
+
+ {{if $entry.location}}
+ <div class="contact-info-element">
+ <span class="contact-info-label">{{$entry.location_label}}</span> {{$entry.location}}
+ </div>
+ {{/if}}
+
+ {{if $entry.hometown}}
+ <div class="contact-info-element">
+ <span class="contact-info-label">{{$entry.hometown_label}}</span> {{$entry.hometown}}
+ </div>
+ {{/if}}
+
+ {{if $entry.homepage}}
+ <div class="contact-info-element">
+ <span class="contact-info-label">{{$entry.homepage}}</span> {{$entry.homepageurl}}
+ </div>
+ {{/if}}
+
+ {{if $entry.kw}}
+ <div class="contact-info-element">
+ <span class="contact-info-label">{{$entry.kw}}</span> {{$entry.keywords}}
+ </div>
+ {{/if}}
+
+ {{if $entry.about}}
+ <div class="contact-info-element">
+ <span class="contact-info-label">{{$entry.about_label}}</span> {{$entry.about}}
+ </div>
+ {{/if}}
+ </div>
+ </div>
+</div>