Skip to content

Commit

Permalink
next
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Nov 8, 2023
1 parent ed31fef commit ecc7be1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<i class="far fa-arrow-alt-circle-up"></i> {{ 'plugins.status_update_available' | translate }}
</p>
<p class="mb-0 primary-text" *ngIf="plugin.betaUpdateAvailable && !plugin.updateAvailable && !plugin.disabled">
<i class="far fa-arrow-alt-circle-up"></i> {{ 'plugins.status_update_beta_available' | translate }}
<i class="far fa-arrow-alt-circle-up"></i> {{ 'plugins.status_update_beta_available' | translate }}
</p>
<p class="mb-0 red-text" *ngIf="plugin.installedVersion && plugin.disabled">
<i class="far fa-times-circle"></i> {{ 'plugins.status_disabled' | translate }}
Expand Down Expand Up @@ -136,7 +136,7 @@ <h4 class="card-title mb-0">
(click)="$plugin.uninstallPlugin(plugin)">
<i class="fas fa-fw fa-trash"></i> {{ 'plugins.button_uninstall' | translate }}
</button>
<div class="dropdown-divider"></div>
<div class="dropdown-divider" *ngIf="plugin.links.homepage || plugin.links.npm"></div>
<a ngbDropdownItem target="_blank" rel="noopener noreferrer" class="text-decoration-none"
*ngIf="plugin.links.homepage || plugin.links.npm" [href]="plugin.links.homepage || plugin.links.npm">
<i class="{{ plugin.links?.homepage?.includes('github.com') ? 'fa fa-lg fa-github' : 'fas fa-external-link-alt' }}"></i> Plugin Homepage

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High

'
github.com
' can be anywhere in the URL, and arbitrary hosts may come before or after it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<i class="fas fa-cog fa-spin primary-text" *ngIf="!homebridgePkg.installedVersion"></i>
<i class="fas fa-check-circle primary-text"
*ngIf="homebridgePkg.installedVersion && !homebridgePkg.updateAvailable && !homebridgePkg.betaUpdateAvailable"></i>
<i class="fas fa-cloud-upload-alt primary-text"
<i class="fas fa-arrow-alt-circle-up primary-text"
*ngIf="homebridgePkg.installedVersion && (homebridgePkg.updateAvailable || homebridgePkg.betaUpdateAvailable)"></i>
</div>
<div class="align-self-center">
Expand Down Expand Up @@ -77,7 +77,7 @@
<div class="hb-status-item d-flex flex-row mr-4 pr-4">
<div class="d-flex">
<div class="mb-0 px-3 py-2 hb-status-icon">
<i class="fas fa-cloud-upload-alt primary-text" *ngIf="homebridgePluginStatus.length"></i>
<i class="fas fa-arrow-alt-circle-up primary-text" *ngIf="homebridgePluginStatus.length"></i>
<i class="fas fa-check-circle primary-text" *ngIf="!homebridgePluginStatus.length"></i>
</div>
<div class="align-self-center">
Expand Down

0 comments on commit ecc7be1

Please sign in to comment.