Skip to content

Commit

Permalink
Revert "Update manage-plugins-modal.component.html"
Browse files Browse the repository at this point in the history
This reverts commit cf80506.
  • Loading branch information
donavanbecker committed Nov 2, 2023
1 parent cf80506 commit af0da46
Showing 1 changed file with 4 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,15 @@ <h3 class="text-center primary-text" [translate]="'platform.version.title_servic
<p class="text-center grey-text" [translate]="'plugins.manage.message_thanks_for_updating'">
Thanks for installing the latest version of {{ pluginName }}.
</p>
<p *ngIf="!['homebridge', 'homebridge-config-ui-x'].includes(pluginName)" class="text-center grey-text"
[translate]="'plugins.manage.message_thanks_for_updating_restart'">
Please restart Homebridge for the changes to apply. Alternatively, if you have this plugin running in child
bridges, you can close this modal and restart these instead.
<p *ngIf="!['homebridge', 'homebridge-config-ui-x'].includes(pluginName)" class="text-center grey-text" [translate]="'plugins.manage.message_thanks_for_updating_restart'">
Please restart Homebridge for the changes to apply. Alternatively, if you have this plugin running in child bridges, you can close this modal and restart these instead.
</p>
<div class="text-right">
<button *ngIf="$settings.env.serviceMode" class="btn btn-primary waves-effect mr-0"
[disabled]="restartInProgress[item._bridge?.username]" ngbTooltip="{{'menu.tooltip_restart' | translate}}"
container="body" openDelay="150" (click)="restartChildBridge(item._bridge?.username)">
<i class="fas fa-fw nav-menu-icon" [ngClass]="{
'fa-power-off': !restartInProgress[item._bridge?.username],
'fa-spinner fa-pulse': restartInProgress[item._bridge?.username]
}"></i>
</button>
</div>
<div class="text-center">
<button type="button" class="btn btn-primary" (click)="onRestartHomebridgeClick()"
[translate]="'plugins.manage.button_restart_now'">Restart Homebridge Now</button>
<button *ngIf="!['homebridge', 'homebridge-config-ui-x'].includes(pluginName)" type="button"
class="btn btn-primary" data-dismiss="modal" (click)="activeModal.dismiss('Cross click')"
<button *ngIf="!['homebridge', 'homebridge-config-ui-x'].includes(pluginName)" type="button" class="btn btn-primary" data-dismiss="modal" (click)="activeModal.dismiss('Cross click')"
[translate]="'form.button_close'">Close</button>
</div>

<hr>
</div>
<markdown class="plugin-md" [data]="changeLog"></markdown>
Expand Down Expand Up @@ -69,4 +55,4 @@ <h5>{{ release.name }}</h5>
<button *ngIf="onlineUpdateOk && showReleaseNotes" type="button" class="btn btn-primary" (click)="update()"
[translate]="'plugins.button_update'">Update</button>
</div>
</div>
</div>

0 comments on commit af0da46

Please sign in to comment.