diff options
-rw-r--r-- | include/bbcode.php | 2 | ||||
-rw-r--r-- | version.inc | 2 | ||||
-rw-r--r-- | view/css/mod_ratings.css | 5 | ||||
-rw-r--r-- | view/js/mod_ratings.js | 4 | ||||
-rw-r--r-- | view/tpl/prep.tpl | 4 |
5 files changed, 13 insertions, 4 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 7067fcd39..8f2b5bd38 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -216,7 +216,7 @@ function bb_ShareAttributes($match) { $headline = '<div class="shared_container"> <div class="shared_header">'; if ($avatar != "") - $headline .= '<img src="' . $avatar . '" alt="' . $author . '" height="32" width="32" />'; + $headline .= '<a href="' . zid($profile) . '" ><img src="' . $avatar . '" alt="' . $author . '" height="32" width="32" /></a>'; // Bob Smith wrote the following post 2 hours ago diff --git a/version.inc b/version.inc index 8d8816a23..c06a0d149 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2015-02-04.935 +2015-02-05.936 diff --git a/view/css/mod_ratings.css b/view/css/mod_ratings.css index 86d6f5ed3..c9f75c58c 100644 --- a/view/css/mod_ratings.css +++ b/view/css/mod_ratings.css @@ -13,4 +13,9 @@ .rating-value { margin-top: 10px; +} + +.prep-rating-value { + margin-left: 10px; + font-size: 1.5rem; }
\ No newline at end of file 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 924bea252..83a86372c 100644 --- a/view/tpl/prep.tpl +++ b/view/tpl/prep.tpl @@ -10,9 +10,9 @@ <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}} {{$r.xlink_rating}}</div> +<div class="rating-value">{{$rating_lbl}} <span class="prep-rating-value">{{$r.xlink_rating}}</span></div> {{if $r.xlink_rating_text}} <div class="rating-text">{{$rating_text_label}} {{$r.xlink_rating_text}} </div> |