| @@ -126,15 +126,17 @@ | |||
| <div class="ui six wide tablet four wide computer column"> | |||
| <div id="repo-desc"> | |||
| <h4 class="ui header">简介</h4> | |||
| <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}} | |||
| <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> | |||
| </p> | |||
| </div> | |||
| <div class="ui" id="repo-topics"> | |||
| <p class="ui" id="repo-topics"> | |||
| <i class="bookmark outline icon"></i> | |||
| {{range .Topics}}<a class="ui repo-topic small label topic" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}} | |||
| {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}<a id="manage_topic">{{.i18n.Tr "repo.topic.manage_topics"}}</a>{{end}} | |||
| </div> | |||
| </p> | |||
| {{if and .Permission.IsAdmin (not .Repository.IsArchived)}} | |||
| <div class="ui repo-topic-edit grid form segment error" id="topic_edit" style="display:none"> | |||
| <div class="fourteen wide column"> | |||
| @@ -159,15 +161,15 @@ | |||
| <span id="format_prompt">{{.i18n.Tr "repo.topic.format_prompt"}}</span> | |||
| </div> | |||
| <div class="ui"> | |||
| <p class="ui"> | |||
| <i class="terminal icon"></i> | |||
| TensorFlow 1.2, Python 3.7 | |||
| </div> | |||
| </p> | |||
| <div class="ui"> | |||
| <p class="ui"> | |||
| <i class="clone outline icon"></i> | |||
| MIT | |||
| </div> | |||
| </p> | |||
| <div > | |||
| <h4 class="ui header"> | |||
| @@ -188,32 +190,6 @@ | |||
| {{end}} | |||
| </div> | |||
| </div> | |||
| <div > | |||
| <h4 class="ui header"> | |||
| <strong>近期动态</strong> | |||
| </h4> | |||
| <div class="ui list"> | |||
| <div class="item"> | |||
| <img class="ui avatar image" src="https://git.openi.org.cn/user/avatar/coral/-1"> | |||
| <div class="content"> | |||
| <a href="">10小时前推送了新的提交到 master 分支,e2bfb75...0059d20</a> | |||
| </div> | |||
| </div> | |||
| <div class="item"> | |||
| <img class="ui avatar image" src="https://git.openi.org.cn/user/avatar/coral/-1"> | |||
| <div class="content"> | |||
| <a href="">10小时前推送了新的提交到 master 分支,e2bfb75...0059d20</a> | |||
| </div> | |||
| </div> | |||
| <div class="item"> | |||
| <img class="ui avatar image" src="https://git.openi.org.cn/user/avatar/coral/-1"> | |||
| <div class="content"> | |||
| <a href="">10小时前推送了新的提交到 master 分支,e2bfb75...0059d20</a> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||