From 04d44c9965ec162b68f8d7cfa9e8f01e99edd610 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 23 Feb 2026 20:07:18 +0100 Subject: [PATCH] Remove link from system status widget title At least for now, there's no sensible link target, so it's better to not link anywhere. Project......: Performance Profiling Sponsored-by.: NLnet NGI0 Commons Fund --- Zotlabs/Widget/Channel_activities.php | 3 +-- view/tpl/system_status_widget.tpl | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Zotlabs/Widget/Channel_activities.php b/Zotlabs/Widget/Channel_activities.php index db430ba8b..03d5123c8 100644 --- a/Zotlabs/Widget/Channel_activities.php +++ b/Zotlabs/Widget/Channel_activities.php @@ -51,7 +51,7 @@ class Channel_activities { $activity_html .= replace_macros( get_markup_template($a['tpl']), [ - '$url' => $a['url'], + '$url' => $a['url'] ?? null, '$icon' => $a['icon'], '$label' => $a['label'], '$items' => $a['items'], @@ -268,7 +268,6 @@ class Channel_activities { self::$activities['status'] = [ 'label' => t('System status'), 'icon' => 'gpu-card', - 'url' => z_root() . '/perf', 'date' => datetime_convert(), 'items' => $items, 'tpl' => 'system_status_widget.tpl', diff --git a/view/tpl/system_status_widget.tpl b/view/tpl/system_status_widget.tpl index 0c07b3441..4da43bd24 100644 --- a/view/tpl/system_status_widget.tpl +++ b/view/tpl/system_status_widget.tpl @@ -1,7 +1,7 @@
- {{$label|escape}} + {{$label|escape}}
-
+
{{foreach $items as $id => $item}}