cfmgrv4 init...2

This commit is contained in:
최준흠 2024-10-14 16:47:54 +09:00
parent 5f9cfda7be
commit f7e9a280af

View File

@ -70,7 +70,7 @@ class RecordHelper extends CommonHelper
break;
case RecordModel::TITLE:
$url = sprintf("%s/toggle/%s/fixed?fixed=%s", current_url(), $viewDatas['entity']->getPK(), $viewDatas['entity']->fixed == 'on' ? "off" : "on");
$value = sprintf("%s%s", $viewDatas['entity']->fixed == 'on' ? "<span class=\"text-danger\">" . ICONS['LOCK'] . "</span>" : "", $value);
$value = sprintf("<span class=\"label_hosts\">%s%s</span>", $viewDatas['entity']->fixed == 'on' ? "<span class=\"text-danger\">" . ICONS['LOCK'] . "</span>" : "", $value);
$value = anchor($url, $value, ["target" => "_self"]);
break;
case 'content':