Open comments in board view with a modal dialog instead of tooltip

This commit is contained in:
Frederic Guillot
2017-02-11 17:22:10 -05:00
parent 28052edb22
commit 8bf054a480
26 changed files with 195 additions and 95 deletions

View File

@@ -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())