* Code for task #97479.

This commit is contained in:
wangyidong
2023-07-13 11:25:46 +08:00
parent f2c8f63583
commit 71db3728b1
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -38,6 +38,10 @@ $(document).off('click', '#batchUnlinkStory').on('click', '#batchUnlinkStory', f
zui.Modal.open({id: 'batchUnlinkStoryBox'});
$('#batchUnlinkStoryBox').html(data);
$('#batchUnlinkStoryBox').off('mousedown', '.confirmBtn').on('mousedown', '.confirmBtn', function()
{
loadCurrentPage();
});
});
});
@@ -19,6 +19,7 @@ foreach($executionStories as $story)
$executionLink = helper::createLink('execution', 'story', "executionID={$story->executionID}");
$tableTR[] = h::tr
(
h::td($story->id),
h::td(a(set::href($storyLink), set::title($story->title), set::style(array('color' => '#5988e2')), $story->title)),
h::td(a(set::href($executionLink), set::title($story->execution), set::style(array('color' => '#32579c')), $story->execution)),
);
@@ -29,6 +30,7 @@ h::table
set::class('table'),
h::tr
(
h::th(set::width('60px'), $lang->idAB),
h::th($lang->story->title),
h::th($lang->story->link . $lang->execution->common),
),
@@ -36,7 +38,7 @@ h::table
h::tr
(
setClass('text-center'),
h::td(set::colspan(2), setStyle(array('text-align' => 'center')), btn(setClass('primary'), on::mousedown('loadCurrentPage'), set('data-dismiss', 'modal'), $lang->projectstory->confirm))
h::td(set::colspan(3), setStyle(array('text-align' => 'center')), btn(setClass('primary confirmBtn'), set('data-dismiss', 'modal'), $lang->projectstory->confirm))
)
);