* Add the more button for recent project block.

This commit is contained in:
daitingting
2023-07-05 05:54:06 +00:00
parent 18f45a250e
commit 11028f8f98
2 changed files with 11 additions and 2 deletions
-1
View File
@@ -23,7 +23,6 @@ panel
set::title($block->title),
set('class', 'bug-block ' . ($longBlock ? 'block-long' : 'block-sm')),
set('headingClass', 'border-b'),
to::headingActions
(
a
+11 -1
View File
@@ -122,9 +122,19 @@ foreach($projects as $projectID => $project)
panel
(
set('class', 'recentproject-block'),
set('class', 'bug-block ' . ($longBlock ? 'block-long' : 'block-sm')),
set('headingClass', 'border-b'),
set::title($lang->block->titleList['recentproject']),
to::headingActions
(
a
(
set('class', 'text-gray'),
set('href', $block->moreLink),
$lang->more,
icon('caret-right')
)
),
div
(
set('class', 'flex flex-wrap cards justify-between'),