* Add the flag of the execution list.

This commit is contained in:
qiyu-xie
2021-03-09 17:41:51 +08:00
parent 33bcb0922e
commit c0617febd9
2 changed files with 28 additions and 11 deletions
+15
View File
@@ -867,6 +867,21 @@ class executionModel extends model
}
}
/**
* Get execution main menu action.
*
* @param string $module
* @param string $method
* @access public
* @return string
*/
public function getMainAction($module, $method)
{
$link = html::a(helper::createLink('execution', 'all'), "<i class='icon icon-list'></i>", '', "style='border: none;'");
$html = "<p style='padding-top:5px;'>" . $link . "</p>";
return common::hasPriv('execution', 'all') ? $html : '';
}
/**
* Get project pairs.
*