aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-03-06 17:02:58 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-03-06 17:02:58 +0100
commit716240329274912a354190998753c08d22a42082 (patch)
tree4448d7736fde1388eec402b336dbc30c2d8b8cd8
parent004468f231d550cdcc9b36a47f74b7f48d507fc8 (diff)
downloadvolse-hubzilla-716240329274912a354190998753c08d22a42082.tar.gz
volse-hubzilla-716240329274912a354190998753c08d22a42082.tar.bz2
volse-hubzilla-716240329274912a354190998753c08d22a42082.zip
Also make it clear with (mouse) hover text that you must click on the cover photo to show the channel/more
-rw-r--r--include/widgets.php1
-rwxr-xr-xview/tpl/cover_photo_widget.tpl2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index ad54cb59e..0d31133e7 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1023,6 +1023,7 @@ function widget_cover_photo($arr) {
'$photo_html' => $photo_html,
'$title' => $title,
'$subtitle' => $subtitle,
+ '$hovertitle' => t('Click to show more'),
));
}
return $o;
diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl
index d6d2517e7..f5790d141 100755
--- a/view/tpl/cover_photo_widget.tpl
+++ b/view/tpl/cover_photo_widget.tpl
@@ -40,7 +40,7 @@
}
</script>
-<div id="cover-photo" onclick="slideUpCover();">
+<div id="cover-photo" onclick="slideUpCover();" title="{{$hovertitle}}">
{{$photo_html}}
<div id="cover-photo-caption">
<div class="cover-photo-title">