summaryrefslogtreecommitdiff
path: root/app/Helper/ModalHelper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-11 17:22:10 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-11 17:22:10 -0500
commit8bf054a480ecc2d31b857cb27bd6256f1efdd74c (patch)
tree390065e6c102bc3e8d5dcf5b5e6d7174e5b26da2 /app/Helper/ModalHelper.php
parent28052edb22cb0a65d3ad81c7654a0673de82e1ac (diff)
Open comments in board view with a modal dialog instead of tooltip
Diffstat (limited to 'app/Helper/ModalHelper.php')
-rw-r--r--app/Helper/ModalHelper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Helper/ModalHelper.php b/app/Helper/ModalHelper.php
index efbe2c4d..e8fee99c 100644
--- a/app/Helper/ModalHelper.php
+++ b/app/Helper/ModalHelper.php
@@ -47,10 +47,10 @@ class ModalHelper extends Base
return $this->helper->url->link($html, $controller, $action, $params, false, 'js-modal-large');
}
- public function medium($icon, $label, $controller, $action, array $params = array())
+ public function medium($icon, $label, $controller, $action, array $params = array(), $title = '')
{
$html = '<i class="fa fa-'.$icon.' fa-fw js-modal-medium" aria-hidden="true"></i>'.$label;
- return $this->helper->url->link($html, $controller, $action, $params, false, 'js-modal-medium');
+ return $this->helper->url->link($html, $controller, $action, $params, false, 'js-modal-medium', $title);
}
public function small($icon, $label, $controller, $action, array $params = array())