|
|
@ -8,6 +8,7 @@ import RepositoryDirectories from './RepositoryDirectories';
|
|
|
|
|
|
|
|
|
|
|
|
import { ActionBtn , NoneData } from 'educoder';
|
|
|
|
import { ActionBtn , NoneData } from 'educoder';
|
|
|
|
import RepositoryCombinePath from './RepositoryCombinePath';
|
|
|
|
import RepositoryCombinePath from './RepositoryCombinePath';
|
|
|
|
|
|
|
|
import RepositoryNoneData from './RepositoryNoneData';
|
|
|
|
import './Repository.css';
|
|
|
|
import './Repository.css';
|
|
|
|
const $ = window.$;
|
|
|
|
const $ = window.$;
|
|
|
|
|
|
|
|
|
|
|
@ -50,7 +51,7 @@ class Repository extends Component {
|
|
|
|
{ repositoryLoading ? <div style={{ minHeight: '500px'}}></div> :
|
|
|
|
{ repositoryLoading ? <div style={{ minHeight: '500px'}}></div> :
|
|
|
|
<div className="mb10" id="collaborators_list_info">
|
|
|
|
<div className="mb10" id="collaborators_list_info">
|
|
|
|
<div className="clearfix edu-back-white">
|
|
|
|
<div className="clearfix edu-back-white">
|
|
|
|
<div className="padding16-20 clearfix">
|
|
|
|
<div className="padding16-20 clearfix borbotF4">
|
|
|
|
<div className="fl1 clearfix1 mr201">
|
|
|
|
<div className="fl1 clearfix1 mr201">
|
|
|
|
<div className="repositorytitle">
|
|
|
|
<div className="repositorytitle">
|
|
|
|
<div className="fl font-12 color-grey-9 pr">
|
|
|
|
<div className="fl font-12 color-grey-9 pr">
|
|
|
@ -144,7 +145,7 @@ class Repository extends Component {
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
{/* 用户、最近提交时间 */}
|
|
|
|
{/* 用户、最近提交时间 */}
|
|
|
|
{
|
|
|
|
{
|
|
|
|
trees === undefined || trees === null ||trees.length===0? <NoneData></NoneData>:
|
|
|
|
trees === undefined || trees === null ||trees.length===0? <RepositoryNoneData></RepositoryNoneData>:
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
{commits===undefined?"":commits===null||commits.length===0?"":<div className="edu-back-skyblue padding10-20 clearfix">
|
|
|
|
{commits===undefined?"":commits===null||commits.length===0?"":<div className="edu-back-skyblue padding10-20 clearfix">
|
|
|
|
<img alt={author.name} className="radius fl mr10"
|
|
|
|
<img alt={author.name} className="radius fl mr10"
|
|
|
|