Skip to content

Commit 41b357f

Browse files
BWC/IFC Pagination done.Fixed #67
1 parent 67cd482 commit 41b357f

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

frontend/src/components/administration/Bwcifc.vue

+8-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
<template>
22
<links-page>
33
<card title="Minutes of IFC Meeting">
4-
<ul class="list-group list-gr">
5-
<li v-for="i in ifc_docs">
6-
<a class="list-group-item" :href="i.file" target=_blank>{{ i.title }}</a>
7-
</li>
8-
</ul>
4+
<notice-list :noticelist="ifc_docs" />
95
</card>
106
<card title="Minutes of BWC Meeting">
11-
<ul class="list-group list-gr">
12-
<li v-for="b in bwc_docs">
13-
<a class="list-group-item" :href="b.file" target=_blank>{{ b.title }}</a>
14-
</li>
15-
</ul>
7+
<notice-list :noticelist="bwc_docs" />
168
</card>
179
</links-page>
1810
</template>
@@ -21,14 +13,17 @@
2113
import axios from 'axios'
2214
import LinksPage from '@/components/LinksPage'
2315
import Card from '@/components/Card'
16+
import NoticeList from '@/components/NoticeList'
2417
import { genBackendURL } from '@/common.js'
2518
2619
export default {
2720
name: "Calendar",
2821
data () {
2922
return {
3023
bwc_docs: [],
31-
ifc_docs: []
24+
paginate: ['bwc_docs'],
25+
ifc_docs: [],
26+
paginate: ['ifc_docs']
3227
}
3328
},
3429
created () {
@@ -56,7 +51,8 @@ export default {
5651
},
5752
components: {
5853
LinksPage,
59-
Card
54+
Card,
55+
NoticeList
6056
}
6157
}
6258
</script>

0 commit comments

Comments
 (0)