* Add detailHeader of gitea.
This commit is contained in:
@@ -144,8 +144,8 @@ class gitea extends control
|
||||
$actionID = $this->pipeline->delete($giteaID, 'gitea');
|
||||
if(!$actionID)
|
||||
{
|
||||
$response['result'] = 'fail';
|
||||
$response['message'] = $this->lang->pipeline->delError;
|
||||
$response['result'] = 'fail';
|
||||
$response['callback'] = sprintf('zui.Modal.alert("%s");', $this->lang->pipeline->delError);
|
||||
return $this->send($response);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,16 @@ declare(strict_types=1);
|
||||
namespace zin;
|
||||
global $lang;
|
||||
|
||||
detailHeader
|
||||
(
|
||||
isAjaxRequest('modal') ? to::prefix() : '',
|
||||
to::title(
|
||||
entityLabel(
|
||||
set(array('entityID' => $gitea->id, 'level' => 1, 'text' => $gitea->name))
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
detailBody
|
||||
(
|
||||
sectionList
|
||||
|
||||
Reference in New Issue
Block a user