mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-30 19:39:02 +00:00
Use default values for lists in admin user page
This commit is contained in:
parent
8c69c3881f
commit
9862d32dbb
@ -94,22 +94,7 @@
|
||||
<script>
|
||||
socket.emit('subscribe_foreign_user_ressources', {{ user.id }});
|
||||
|
||||
var corpusList = new CorpusList("corpus-list", foreignCorporaSubscribers, {
|
||||
item: '<div><span class="title"></span><span class="description"></span></div>',
|
||||
page: 4,
|
||||
pagination: true,
|
||||
valueNames: ["description", "title", {data: ["id"]}]
|
||||
});
|
||||
corpusList.on("filterComplete", List.updatePagination);
|
||||
corpusList.on("searchComplete", List.updatePagination);
|
||||
|
||||
var jobList = new JobList("job-list", foreignJobsSubscribers, {
|
||||
item: '<div><span class="title"></span><span class="description"></span></div>',
|
||||
page: 4,
|
||||
pagination: true,
|
||||
valueNames: ["description", "title", {data: ["id"]}]
|
||||
});
|
||||
jobList.on("filterComplete", List.updatePagination);
|
||||
jobList.on("searchComplete", List.updatePagination);
|
||||
var corpusList = new CorpusList("corpus-list", foreignCorporaSubscribers);
|
||||
var jobList = new JobList("job-list", foreignJobsSubscribers);
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user