+ Add tips for no commit changes.

This commit is contained in:
caoyanyi
2024-04-18 17:11:44 +08:00
parent e6557b56d8
commit 970f398f9b
5 changed files with 26 additions and 1 deletions
+20 -1
View File
@@ -148,7 +148,26 @@ div(
)
);
if($diffs) include 'diffeditor.html.php';
if($diffs)
{
include 'diffeditor.html.php';
}
else
{
div
(
setClass('dtable-empty-tip'),
div
(
setClass('row gap-4 items-center'),
span
(
setClass('text-gray'),
$lang->repo->notice->noChanges
)
)
);
}
jsVar('oldRevision', $oldRevision);
jsVar('newRevision', $newRevision);