aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-05 15:28:46 -0800
committerfriendica <info@friendica.com>2015-02-05 15:28:46 -0800
commit68978ad1c08daeb55581b95b4328905df42c847b (patch)
tree81825c2a1152f551d79b5ef3ee13ed3bc106df56 /view
parent1b5bd1d808637696b31f197c2b2194f00b903952 (diff)
downloadvolse-hubzilla-68978ad1c08daeb55581b95b4328905df42c847b.tar.gz
volse-hubzilla-68978ad1c08daeb55581b95b4328905df42c847b.tar.bz2
volse-hubzilla-68978ad1c08daeb55581b95b4328905df42c847b.zip
collapse overly-verbose ratings
Diffstat (limited to 'view')
-rw-r--r--view/js/mod_ratings.js4
-rw-r--r--view/tpl/prep.tpl2
2 files changed, 5 insertions, 1 deletions
diff --git a/view/js/mod_ratings.js b/view/js/mod_ratings.js
new file mode 100644
index 000000000..0f7cab5e3
--- /dev/null
+++ b/view/js/mod_ratings.js
@@ -0,0 +1,4 @@
+
+$(document).ready(function() {
+ collapseHeight();
+});
diff --git a/view/tpl/prep.tpl b/view/tpl/prep.tpl
index 9ebe3ac54..83a86372c 100644
--- a/view/tpl/prep.tpl
+++ b/view/tpl/prep.tpl
@@ -10,7 +10,7 @@
<a href="{{$r.xchan_url}}" class="directory-profile-link" id="directory-profile-link-{{$r.xchan_hash}}" ><img class="directory-photo-img" src="{{$r.xchan_photo_m}}" alt="{{$r.xchan_addr}}" title="{{$r.xchan_addr}}" /></a>
</div>
</div>
-<div class="prep-details">
+<div class="prep-details contact-info">
<a href="{{$r.xchan_url}}" class="directory-profile-link" id="directory-profile-link-{{$r.xchan_hash}}" ><div class="contact-name">{{$r.xchan_name}}</div></a>
<div class="rating-value">{{$rating_lbl}} <span class="prep-rating-value">{{$r.xlink_rating}}</span></div>
{{if $r.xlink_rating_text}}