Skip to content

Commit

Permalink
Show puavoDeviceCurrentImage on the device page
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkorhonen committed Aug 27, 2015
1 parent b4ade9a commit d2bc278
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/shared/_linux_device_information.html.erb
Expand Up @@ -168,6 +168,10 @@

<table class="widelist">
<% if ["thinclient", "fatclient", "laptop", "ltspserver"].include?(device.puavoDeviceType) %>
<tr>
<td class="label_td view"><%= label device.class.to_s.downcase, ":puavoDeviceCurrentImage" %></td>
<td class="value_td"><%=h device.puavoDeviceCurrentImage %></td>
</tr>
<tr>
<td class="label_td view"><%= label device.class.to_s.downcase, "puavoDeviceImage" %></td>
<td class="value_td"><%=h device.puavoDeviceImage %></td>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Expand Up @@ -524,6 +524,7 @@ en:
puavoDeviceAutoPowerOffMode_custom: Custom
puavoDeviceOnHour: Daytime start
puavoDeviceOffHour: Daytime end
puavoDeviceCurrentImage: Current Desktop Image
puavoDeviceImage: Desktop Image
puavoDeviceBootImage: Device boot image
puavoPreferredServer: Preferred LTSP server
Expand Down
1 change: 1 addition & 0 deletions config/locales/fi.yml
Expand Up @@ -520,6 +520,7 @@ fi:
puavoDeviceAutoPowerOffMode_custom: Mukautettu
puavoDeviceOnHour: "Päivän aloitus"
puavoDeviceOffHour: "Päivän lopetus"
puavoDeviceCurrentImage: Käytössä oleva työpöytäkuva
puavoDeviceImage: Työpöytäkuva
puavoDeviceBootImage: Käynnistyslevykuva
puavoPreferredServer: Ensisijainen LTSP-palvelin
Expand Down

0 comments on commit d2bc278

Please sign in to comment.