项目列表tip文案-待定

This commit is contained in:
caishi 2021-09-09 10:10:19 +08:00
parent 1c8ad3dc60
commit e0aeab0e20
2 changed files with 6 additions and 6 deletions

View File

@ -41,22 +41,22 @@ class IndexItem extends Component {
{ !item.is_public && <span className="privateTag">私有</span> } { !item.is_public && <span className="privateTag">私有</span> }
{ {
item.forked_from_project_id ? item.forked_from_project_id ?
<span className="ml5"> <Tooltip title="该项目是一个fork仓库" className="ml5">
<i className="iconfont icon-fork font-18 color-orange" /> <i className="iconfont icon-fork font-18 color-orange" />
</span> </Tooltip>
: "" : ""
} }
{ {
item.type && item.type === 2 ? item.type && item.type === 2 ?
<Tooltip title="该项目是一个镜像" className="ml5"> <Tooltip title="源镜像仓库为私有:该项目导入于其他网站的私有仓库" className="ml5">
<i className="iconfont icon-banbenku font-18 color-green" /> <i className="iconfont icon-banbenku font-18 color-green" />
</Tooltip>:"" </Tooltip>:""
} }
{ {
item.type && item.type === 1 ? item.type && item.type === 1 ?
<span className="ml5"> <Tooltip title="源镜像仓库为公有:该项目导入于其他网站的公有仓库" className="ml5">
<i className="iconfont icon-jingxiang font-18 color-green" /> <i className="iconfont icon-jingxiang font-18 color-green" />
</span>:"" </Tooltip>:""
} }
</AlignCenter> </AlignCenter>
<span className="p-r-tags"> <span className="p-r-tags">

View File

@ -108,7 +108,7 @@ function RightBox({ OIdentifier , history , admin , showCompeleteDialog ,complet
<div> <div>
{ {
(item.is_admin || item.is_member) ? (item.is_admin || item.is_member) ?
<Link to={`/${OIdentifier}/teams/${item.id}`}><ColorListName>{item.name}</ColorListName></Link> <Link to={`/${OIdentifier}/teams/${item.id}`}><ColorListName>{item.nickname}</ColorListName></Link>
: :
<ColorListName>{item.name}</ColorListName> <ColorListName>{item.name}</ColorListName>
} }