@@ -117,16 +117,16 @@ | |||||
border-left: 2px solid #505559; | border-left: 2px solid #505559; | ||||
border-bottom: 2px solid #505559; | border-bottom: 2px solid #505559; | ||||
border-radius: 0 0 0 2.0rem; | border-radius: 0 0 0 2.0rem; | ||||
width: 17.5rem; | |||||
width: 2.0rem; | |||||
} | } | ||||
.leftline02{ | .leftline02{ | ||||
position: absolute; | position: absolute; | ||||
left: 20.5rem; | |||||
left: 5rem; | |||||
top: calc(-5.0rem - 2px); | top: calc(-5.0rem - 2px); | ||||
border-top: 2px solid #505559; | border-top: 2px solid #505559; | ||||
border-right: 2px solid #505559; | border-right: 2px solid #505559; | ||||
border-radius: 0 2.0rem 0 0; | border-radius: 0 2.0rem 0 0; | ||||
width: 2.0rem; | |||||
width: 17.5rem; | |||||
height: 6.0rem; | height: 6.0rem; | ||||
} | } | ||||
@@ -157,7 +157,11 @@ | |||||
<div id="repo-desc"> | <div id="repo-desc"> | ||||
<h4 class="ui header">简介</h4> | <h4 class="ui header">简介</h4> | ||||
<p> | <p> | ||||
{{if .Repository.DescriptionHTML}}<span class="description">{{.Repository.DescriptionHTML}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}} | |||||
{{if .Repository.DescriptionHTML}} | |||||
<span class="description">{{.Repository.DescriptionHTML}}</span> | |||||
{{else}} | |||||
<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span> | |||||
{{end}} | |||||
<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> | <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> | ||||
</p> | </p> | ||||
</div> | </div> | ||||
@@ -187,7 +191,7 @@ | |||||
<div> | <div> | ||||
<h4 class="ui header"> | <h4 class="ui header"> | ||||
<strong>贡献者</strong> | |||||
<strong>贡献者 ({{len .ContributorInfo}})</strong> | |||||
<div class="ui right"> | <div class="ui right"> | ||||
<a class="text grey" href="">全部 {{svg "octicon-chevron-right" 16}}</a> | <a class="text grey" href="">全部 {{svg "octicon-chevron-right" 16}}</a> | ||||
</div> | </div> | ||||