|
|
|
@ -5,17 +5,16 @@ import axios from 'axios'
|
|
|
|
|
import okIcon from './images/ok_border.png'
|
|
|
|
|
|
|
|
|
|
function VideoProtocol (props) {
|
|
|
|
|
const theme = useContext(ThemeContext);
|
|
|
|
|
const username = props.match.params.username
|
|
|
|
|
const { history } = props;
|
|
|
|
|
|
|
|
|
|
const { search } = props.history.location;
|
|
|
|
|
const courseId = search && search.split("=")[1];
|
|
|
|
|
return (
|
|
|
|
|
<div className={`educontent videoProtocol`}>
|
|
|
|
|
<CBreadcrumb
|
|
|
|
|
className="mb26 mt16"
|
|
|
|
|
separator=" > "
|
|
|
|
|
items={[
|
|
|
|
|
{ to: `/users/${username}/videos/upload`, name: '视频上传'},
|
|
|
|
|
{ to: `${courseId?`/courses/${courseId}/course_videos?open=new`:`/users/${username}/videos/upload`}`, name: '视频上传'},
|
|
|
|
|
{ name: '内容上传协议'}
|
|
|
|
|
]}
|
|
|
|
|
></CBreadcrumb>
|
|
|
|
|