[webui] Get rid of deprecated link_to_function