aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/widgets.php1
-rw-r--r--view/css/widgets.css1
-rwxr-xr-xview/tpl/cover_photo_widget.tpl2
3 files changed, 3 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/css/widgets.css b/view/css/widgets.css
index db90afad9..38809896c 100644
--- a/view/css/widgets.css
+++ b/view/css/widgets.css
@@ -129,6 +129,7 @@ li:hover .group-edit-icon {
position: relative;
width: 100%;
height: auto;
+ cursor: pointer;
}
#cover-photo-caption {
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">