* bugView: calling common function to generate props of page header.
This commit is contained in:
@@ -10,22 +10,11 @@ declare(strict_types=1);
|
||||
*/
|
||||
namespace zin;
|
||||
|
||||
include 'common.html.php';
|
||||
|
||||
formPanel
|
||||
(
|
||||
set::shadow(false),
|
||||
set::title($lang->bug->activate),
|
||||
set::headingClass('status-heading'),
|
||||
to::headingActions
|
||||
(
|
||||
entityLabel
|
||||
(
|
||||
setClass('my-3 gap-x-3'),
|
||||
set::level(1),
|
||||
set::text($bug->title),
|
||||
set::entityID($bug->id),
|
||||
set::reverse(true),
|
||||
)
|
||||
),
|
||||
setCommonProps($bug, $lang->bug->activate) ,
|
||||
formGroup
|
||||
(
|
||||
set::width('1/3'),
|
||||
@@ -71,13 +60,9 @@ formPanel
|
||||
(
|
||||
set::name('files[]')
|
||||
)
|
||||
),
|
||||
set::actions(array('submit')),
|
||||
set::submitBtnText($lang->bug->activate)
|
||||
)
|
||||
);
|
||||
|
||||
h::hr(set::class('mt-6'));
|
||||
|
||||
history();
|
||||
|
||||
render('modalDialog');
|
||||
|
||||
Reference in New Issue
Block a user