修改项目分类项目名

This commit is contained in:
sylor_huang@126.com 2020-06-24 16:11:50 +08:00
parent 904beb3a1d
commit 464c5d1986
1 changed files with 10 additions and 2 deletions

View File

@ -209,7 +209,7 @@ class Infos extends Component {
</li>
<li className={project_type && project_type === "common" ? "active" : ""} onClick={() => this.change_project_type("common")}>
<p>
<span className="font-16">托管项目</span>
<span className="font-16">开源托管项目</span>
<span className="color-blue">
{user && user.common_projects_count}
</span>
@ -217,12 +217,20 @@ class Infos extends Component {
</li>
<li className={project_type && project_type === "mirror" ? "active" : ""} onClick={() => this.change_project_type("mirror")}>
<p>
<span className="font-16">镜像项目</span>
<span className="font-16">开源镜像项目</span>
<span className="color-blue">
{user && user.mirror_projects_count}
</span>
</p>
</li>
<li className={project_type && project_type === "sync_mirror" ? "active" : ""} onClick={() => this.change_project_type("sync_mirror")}>
<p>
<span className="font-16">镜像托管项目</span>
<span className="color-blue">
{user && user.sync_mirror_projects_count}
</span>
</p>
</li>
</ul>
</div>
{/* <div className="bgcF">