[interface] Replaced the poutput api call for ranking display with required generation of data in template itself