summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-07-05 09:40:06 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-07-07 19:34:17 -0400
commit41c2966543347821df9e73d5a2ddba75dc8b2a93 (patch)
tree747361976d59b36e423e86c5f783e2ef3a5eaf80
parentcdc8262c93cf66f66044a8486ca1cc5775446fff (diff)
Add a confirmation dialog when clicking on the big tick
See #519 Before, when clicking on the big tick to mark all articles as read, it triggers directly the action. Now, it asks for a confirmation to block unwanted user clicks.
-rwxr-xr-xapp/views/helpers/pagination.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/pagination.phtml b/app/views/helpers/pagination.phtml
index d4983a32e..d43c664e5 100755
--- a/app/views/helpers/pagination.phtml
+++ b/app/views/helpers/pagination.phtml
@@ -12,7 +12,7 @@
<?php $params['next'] = $this->nextId; ?>
<a id="load_more" href="<?php echo Minz_Url::display (array ('c' => $c, 'a' => $a, 'params' => $params)); ?>"><?php echo Minz_Translate::t ('load_more'); ?></a>
<?php } elseif ($markReadUrl) { ?>
- <a id="bigMarkAsRead" href="<?php echo $markReadUrl; ?>">
+ <a id="bigMarkAsRead" href="<?php echo $markReadUrl; ?>" class="confirm">
<?php echo Minz_Translate::t ('nothing_to_load'); ?><br />
<span class="bigTick">✔</span><br />
<?php echo Minz_Translate::t ('mark_all_read'); ?>