mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
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
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="mb-1 text-uppercase">
|
||||
<a href="{{$url}}"><i class="bi bi-{{$icon|escape}} generic-icons-nav"></i>{{$label|escape}}</a>
|
||||
<i class="bi bi-{{$icon|escape}} generic-icons-nav"></i>{{$label|escape}}
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card mb-4">
|
||||
<div class="card-body clearfix">
|
||||
<table>
|
||||
{{foreach $items as $id => $item}}
|
||||
|
||||
Reference in New Issue
Block a user