Skip to content

Commit

Permalink
# [LOW] Logs and Tasks views: warning if there's a log/task belonging…
Browse files Browse the repository at this point in the history
… to a deleted site

Signed-off-by: Nicholas K. Dionysopoulos <[email protected]>
  • Loading branch information
nikosdion committed Nov 18, 2024
1 parent 901768d commit 3e2ab60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Akeeba Panopticon 1.3.1
================================================================================
~ Make accurate PHP CLI path detection optional
# [MEDIUM] PHP error trying to log in with a username that doesn't exist
# [LOW] Logs and Tasks views: warning if there's a log/task belonging to a deleted site

Akeeba Panopticon 1.3.0
================================================================================
Expand Down
2 changes: 1 addition & 1 deletion ViewTemplates/Logs/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class="btn btn-primary">
@else
<span class="fa fa-globe text-body-tertiary" aria-hidden="true"></span>
<span class="text-secondary">#{{ (int) $siteId }}.</span>
<span class="fw-medium">{{{ $this->siteNames[$siteId] }}}</span>
<span class="fw-medium">{{{ $this->siteNames[$siteId] ?? '???' }}}</span>
@endif
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion ViewTemplates/Tasks/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class="btn btn-primary">
<span class="fw-medium">@lang('PANOPTICON_TASKS_LBL_SYSTEM')</span>
@else
<span class="fa fa-globe text-body-tertiary" aria-hidden="true"></span>
<span class="fw-medium">{{{ $this->siteNames[$task->site_id] }}}</span>
<span class="fw-medium">{{{ $this->siteNames[$task->site_id] ?? '???' }}}</span>
<br>
<span class="text-secondary">#{{ (int) $task->site_id }}</span>
@endif
Expand Down

0 comments on commit 3e2ab60

Please sign in to comment.