Update user page to use ressource lists

This commit is contained in:
Patrick Jentsch 2020-01-31 14:16:25 +01:00
parent 279cdb70a8
commit ca4c199191

View File

@ -100,8 +100,8 @@
<script>
var corpusList = new CorpusList("corpora", nopaque.foreignCorporaSubscribers);
var jobList = new JobList("jobs", nopaque.foreignJobsSubscribers);
var corpusList = new RessourceList("corpora", nopaque.foreignCorporaSubscribers, RessourceList.dataMapper.corpus);
var jobList = new RessourceList("jobs", nopaque.foreignJobsSubscribers, RessourceList.dataMapper.job);
nopaque.socket.emit("foreign_user_ressources_init", {{ user.id }});
</script>
{% endblock %}