Skip to content

Commit

Permalink
BWC/IFC Pagination done.Fixed #67
Browse files Browse the repository at this point in the history
  • Loading branch information
divyanshumehta committed Aug 14, 2018
1 parent 67cd482 commit 41b357f
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions frontend/src/components/administration/Bwcifc.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
<template>
<links-page>
<card title="Minutes of IFC Meeting">
<ul class="list-group list-gr">
<li v-for="i in ifc_docs">
<a class="list-group-item" :href="i.file" target=_blank>{{ i.title }}</a>
</li>
</ul>
<notice-list :noticelist="ifc_docs" />
</card>
<card title="Minutes of BWC Meeting">
<ul class="list-group list-gr">
<li v-for="b in bwc_docs">
<a class="list-group-item" :href="b.file" target=_blank>{{ b.title }}</a>
</li>
</ul>
<notice-list :noticelist="bwc_docs" />
</card>
</links-page>
</template>
Expand All @@ -21,14 +13,17 @@
import axios from 'axios'
import LinksPage from '@/components/LinksPage'
import Card from '@/components/Card'
import NoticeList from '@/components/NoticeList'
import { genBackendURL } from '@/common.js'
export default {
name: "Calendar",
data () {
return {
bwc_docs: [],
ifc_docs: []
paginate: ['bwc_docs'],
ifc_docs: [],
paginate: ['ifc_docs']
}
},
created () {
Expand Down Expand Up @@ -56,7 +51,8 @@ export default {
},
components: {
LinksPage,
Card
Card,
NoticeList
}
}
</script>

0 comments on commit 41b357f

Please sign in to comment.