MineOS WebUI showing incorrect info about archives

#1

Sorry if this is old news, but the Times were showing incorrectly about server archive times.

snippit from original index.html

<p>{{ 'MOST_RECENT_ARCHIVE' | translate }}: <a title="{{ servers[current].page_data.glance.archives[0].time | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}" rel="tooltip" am-time-ago="servers[current].page_data.glance.archives.slice(-1)[0].time"></a></p>
<p>{{ 'OLDEST_ARCHIVE' | translate }}: <a title="{{ servers[current].page_data.glance.archives.slice(-1)[0].time | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}" rel="tooltip" am-time-ago="servers[current].page_data.glance.archives[0].time"></a></p>
<p>{{ 'SPACE_USED_ARCHIVES' | translate }}: {{ servers[current].page_data.glance.du_awd | bytes_to_mb }}</p>

Corrected entry for archive section of index.html

 <p>{{ 'MOST_RECENT_ARCHIVE' | translate }}: <a rel="tooltip" title="{{ servers[current].page_data.glance.archives[0].time | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}" am-time-ago="servers[current].page_data.glance.archives[0].time"></a></p>
<p>{{ 'OLDEST_ARCHIVE' | translate }}: <a rel="tooltip" title="{{ servers[current].page_data.glance.archives.slice(-1)[0].time | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}" am-time-ago="servers[current].page_data.glance.archives.slice(-1)[0].time"></a></p>
<p>{{ 'SPACE_USED_ARCHIVES' | translate }}: {{ servers[current].page_data.glance.du_awd | bytes_to_mb }}</p>```
#2

sorry, must have have a copy and paste error… the code didn’t show up.

#3

Corrected Archive section of index.html (had to add escape characters)

<p>{{ ‘MOST_RECENT_ARCHIVE’ | translate }}: <a rel=“tooltip” title="{{ servers[current].page_data.glance.archives[0].time | amDateFormat:‘dddd, MMMM Do YYYY, h:mm:ss a’ }}" am-time-ago=“servers[current].page_data.glance.archives[0].time”></a></p>
<p>{{ ‘MOST_RECENT_ARCHIVE’ | translate }}: <a rel=“tooltip” title="{{ servers[current].page_data.glance.archives[0].time | amDateFormat:‘dddd, MMMM Do YYYY, h:mm:ss a’ }}" am-time-ago=“servers[current].page_data.glance.archives[0].time”></a></p>