diff --git a/module/common/model.php b/module/common/model.php index 89186a68cb..a937537237 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -1770,13 +1770,13 @@ EOF; } if($type == 'button') { - if($method != 'edit' and $method != 'copy' and $method != 'delete' and ($method != 'review' and $module != 'charter')) + if($method == 'edit' or $method == 'copy' or $method == 'delete' or ($method == 'review' and $module == 'charter')) { - return html::a($link, " " . "{$title}", $target, "class='btn btn-link $extraClass' $misc", true); + return html::a($link, "", $target, "class='btn btn-link $extraClass' title=\"$title\" $misc", false); } else { - return html::a($link, "", $target, "class='btn btn-link $extraClass' title=\"$title\" $misc", false); + return html::a($link, " " . "{$title}", $target, "class='btn btn-link $extraClass' $misc", true); } } else