-
Arrangement: {event.title}
-
-
Tilbake
-
-
{start === end ? start : `${start} til ${end}`}
-
- {event.description !== '' ? (
-
Beskrivelse: {event.description}
- ) : ''}
-
-
- - In Escape?
- - {event.in_escape ? 'Yes' : 'No'}
- - Cancelled?
- - {event.is_cancelled ? 'Yes' : 'No'}
- - External event?
- - {event.is_external ? 'Yes' : 'No'}
- - Public?
- - {event.is_published ? 'Yes' : 'No'}
- - Link
- - {event.link !== '' ? event.link : 'ingen'}
- - Organizer
- - {event.organizer ? event.organizer.realname : 'ingen'}
-
-
-
.ics
-
- )
- }
-}
diff --git a/src/modules/cal/components/List.js b/src/modules/cal/components/List.js
deleted file mode 100644
index 0dc00cb0..00000000
--- a/src/modules/cal/components/List.js
+++ /dev/null
@@ -1,116 +0,0 @@
-import moment from '../../../moment'
-import React from 'react'
-import { Link } from 'react-router-dom'
-import { connect } from 'nuclear-js-react-addons-chefsplate'
-
-import {api} from '../../../api'
-import * as getters from '../getters'
-import * as actions from '../actions'
-
-import Loader from '../../../components/Loader'
-import Tag from './Tag'
-
-export default
-@connect(props => ({
- list: getters.list,
- semesters: getters.semesters,
-}))
-class List extends React.Component {
- componentDidMount() {
- actions.fetchList(this.props.list.get('year'), this.props.list.get('semester'))
- actions.fetchSemesters()
- }
-
- handleSemester(semester, event) {
- event.preventDefault()
- actions.fetchList(semester.year, parseInt(semester.semester.substring(0, 1)))
- }
-
- renderSemesters() {
- if (this.props.semesters.get('items').isEmpty()) {
- return
- }
-
- return (
-