Changeset 2930


Ignore:
Timestamp:
Nov 25, 2016, 2:10:48 PM (3 years ago)
Author:
kbut
Message:

fix bug with get mirror info on main page

Location:
admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/info.php

    r2834 r2930  
    9191console.log(ServerConfig["DHCP_HOST_MAX"]["value"]);
    9292
    93 console.log(ServerConfig["LLIUREXMIRROR"]["value"]["internal"]["last_mirror_date"]);
    94 console.log(ServerConfig["LLIUREXMIRROR"]["value"]["internal"]["mirror_size"]);
     93console.log(ServerConfig["LLIUREXMIRROR"]["value"]["llx16"]["last_mirror_date"]);
     94console.log(ServerConfig["LLIUREXMIRROR"]["value"]["llx16"]["mirror_size"]);
    9595
    9696console.log(ServerConfig["PROXY_ENABLED"]["value"]);
  • admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/js/main.js

    r2898 r2930  
    3434    $("#serverInfo_DHCP_HOST_MAX").html(ServerConfig["DHCP_HOST_MAX"]["value"]);
    3535
    36     $("#serverInfo_LAST_MIRROR_DATE").html(ServerConfig["LLIUREXMIRROR"]["value"]["internal"]["last_mirror_date"]);
    37     $("#serverInfo_MIRROR_SIZE").html(ServerConfig["LLIUREXMIRROR"]["value"]["internal"]["mirror_size"]);
     36    $("#serverInfo_LAST_MIRROR_DATE").html(ServerConfig["LLIUREXMIRROR"]["value"]["llx16"]["last_mirror_date"]);
     37    $("#serverInfo_MIRROR_SIZE").html(ServerConfig["LLIUREXMIRROR"]["value"]["llx16"]["mirror_size"]);
    3838
    3939    $("#serverInfo_PROXY_ENABLED").html(ServerConfig["PROXY_ENABLED"]["value"]);
Note: See TracChangeset for help on using the changeset viewer.