mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 02:29:33 +00:00
Show labels for unknown devices
This commit is contained in:
parent
a2fe2ee601
commit
fe43b49db4
|
@ -418,7 +418,17 @@
|
|||
{% for type in device_types.keys() %}
|
||||
<tr>
|
||||
<td>
|
||||
{% if device_types[type]["name"] == type %}
|
||||
{% if type in REMOVABLE_DEVICE_TYPES %}
|
||||
<div>{{ _("Unknown Removable Disk Drive") }}</div>
|
||||
{% elif type in DISK_DEVICE_TYPES %}
|
||||
<div>{{ _("Unknown Fixed Disk Drive") }}</div>
|
||||
{% else %}
|
||||
<div>{{ _("Unknown Device") }}</div>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div>{{ device_types[type]["name"] }}</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
<div>{{ type }}</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user