* Modify link style.

This commit is contained in:
caoyanyi
2023-04-20 10:30:49 +08:00
parent f276767617
commit 89fa7d85de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ function change<?php echo "block{$block->id}";?>ProductType(type)
$icon = html::image("static/svg/{$docType}.svg", "class='file-icon'");
if(common::hasPriv('doc', 'view'))
{
echo html::a($this->createLink('doc', 'view', "docID=$doc->id"), $icon . $doc->title, '', "title='{$doc->title}' class='doc-title' data-app='{$this->app->tab}'");
echo html::a($this->createLink('doc', 'view', "docID=$doc->id"), $icon . $doc->title, '', "title='{$doc->title}' class='doc-title text-primary' data-app='{$this->app->tab}'");
}
else
{
+1 -1
View File
@@ -165,7 +165,7 @@ function change<?php echo "block{$block->id}";?>ProjectType(type)
$icon = html::image("static/svg/{$docType}.svg", "class='file-icon'");
if(common::hasPriv('doc', 'view'))
{
echo html::a($this->createLink('doc', 'view', "docID=$doc->id"), $icon . $doc->title, '', "title='{$doc->title}' class='doc-title' data-app='{$this->app->tab}'");
echo html::a($this->createLink('doc', 'view', "docID=$doc->id"), $icon . $doc->title, '', "title='{$doc->title}' class='doc-title text-primary' data-app='{$this->app->tab}'");
}
else
{