Skip to content

Commit

Permalink
Reorder in System info widget (#1654)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkz212 authored Nov 7, 2023
1 parent 1d258da commit 7e2c806
Showing 1 changed file with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,6 @@
</a> Synology DSM
</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_nodejs_version'">
Node.js Version
</th>
<td>
<a href="https://homebridge.io/w/JTKEF" rel="noopener noreferrer" target="_blank" class="system-info-link"
ngbTooltip="{{ nodejsInfo.updateAvailable ? ('plugins.status_update_available' | translate) + ' - ' + nodejsInfo.latestVersion : ''}}">
<i *ngIf="nodejsInfo.showUpdateWarning" class="primary-text fas fa-circle-up"></i> {{ serverInfo.nodeVersion }}
</a>
</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_nodejs_path'">Node.js Path</th>
<td>{{ nodejsInfo.installPath }}</td>
</tr>
<tr *ngIf="serverInfo.network.ip4">
<th scope="row" class="text-nowrap">
{{ 'status.widget.systeminfo.label_ipv4' | translate }} ({{ serverInfo.network.iface }})
Expand All @@ -63,6 +48,21 @@
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_service_user'">User</th>
<td>{{ serverInfo.serviceUser }}</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_nodejs_version'">
Node.js Version
</th>
<td>
<a href="https://homebridge.io/w/JTKEF" rel="noopener noreferrer" target="_blank" class="system-info-link"
ngbTooltip="{{ nodejsInfo.updateAvailable ? ('plugins.status_update_available' | translate) + ' - ' + nodejsInfo.latestVersion : ''}}">
<i *ngIf="nodejsInfo.showUpdateWarning" class="primary-text fas fa-circle-up"></i> {{ serverInfo.nodeVersion }}
</a>
</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_nodejs_path'">Node.js Path</th>
<td>{{ nodejsInfo.installPath }}</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_storage_path'">Storage Path</th>
<td>{{ serverInfo.homebridgeStoragePath }}</td>
Expand All @@ -75,6 +75,10 @@
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_plugin_path'">Plugin Path</th>
<td>{{ serverInfo.homebridgeCustomPluginPath || serverInfo.homebridgePluginPath }}</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_timezone'">Timezone</th>
<td>{{ serverInfo.time.timezone }}</td>
</tr>
<tr *ngIf="serverInfo.homebridgeRunningInDocker">
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_docker'">Docker</th>
<td class="text-nowrap" [translate]="'status.widget.systeminfo.label_yes'">Yes</td>
Expand All @@ -85,10 +89,6 @@
</th>
<td class="text-nowrap" [translate]="'status.widget.systeminfo.label_yes'">Yes</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_timezone'">Timezone</th>
<td>{{ serverInfo.time.timezone }}</td>
</tr>
<tr *ngIf="serverInfo.homebridgeServiceMode">
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_service_mode'">Service Mode
</th>
Expand Down

0 comments on commit 7e2c806

Please sign in to comment.