| @@ -51,7 +51,7 @@ func prepareRepoCommit(ctx models.DBContext, repo *models.Repository, tmpDir, re | |||||
| cloneLink := repo.CloneLink() | cloneLink := repo.CloneLink() | ||||
| match := map[string]string{ | match := map[string]string{ | ||||
| "Name": repo.Name, | |||||
| "Name": repo.DisplayName(), | |||||
| "Description": repo.Description, | "Description": repo.Description, | ||||
| "CloneURL.SSH": cloneLink.SSH, | "CloneURL.SSH": cloneLink.SSH, | ||||
| "CloneURL.HTTPS": cloneLink.HTTPS, | "CloneURL.HTTPS": cloneLink.HTTPS, | ||||
| @@ -377,8 +377,8 @@ SSPIDefaultLanguage=默认语言 | |||||
| require_error=不能为空。 | require_error=不能为空。 | ||||
| alpha_dash_error=应该只包含字母数字、破折号 ('-') 和下划线 ('_') 字符。 | alpha_dash_error=应该只包含字母数字、破折号 ('-') 和下划线 ('_') 字符。 | ||||
| alpha_dash_dot_error=应该只包含字母数字, 破折号 ('-'), 下划线 ('_') 和点 ('. ') 。 | alpha_dash_dot_error=应该只包含字母数字, 破折号 ('-'), 下划线 ('_') 和点 ('. ') 。 | ||||
| reponame_dash_dot_error=请输入中文、字母、数字和-_.、最多100个字符。 | |||||
| repoadd_dash_dot_error=路径只允许字母、数字和-_.,最多100个字符。 | |||||
| reponame_dash_dot_error=请输入中文、字母、数字和-_ .,最多100个字符。 | |||||
| repoadd_dash_dot_error=路径只允许字母、数字和-_ .,最多100个字符。 | |||||
| git_ref_name_error=` 必须是格式良好的 git 引用名称。` | git_ref_name_error=` 必须是格式良好的 git 引用名称。` | ||||
| alpha_dash_dot_chinese_error=应该只包含字母数字中文, 破折号 ('-'), 下划线 ('_') 和点 ('. ') 。 | alpha_dash_dot_chinese_error=应该只包含字母数字中文, 破折号 ('-'), 下划线 ('_') 和点 ('. ') 。 | ||||
| size_error=长度必须为 %s。 | size_error=长度必须为 %s。 | ||||
| @@ -33,7 +33,7 @@ | |||||
| <img class="ui avatar image" src="{{.RelAvatarLink}}"> | <img class="ui avatar image" src="{{.RelAvatarLink}}"> | ||||
| {{end}} | {{end}} | ||||
| <a class="name" href="{{.Link}}"> | <a class="name" href="{{.Link}}"> | ||||
| {{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}} | |||||
| {{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{if .Alias}}{{.Alias}}{{else}}{{.Name}}{{end}} | |||||
| {{if .IsArchived}}<i class="archive icon archived-icon"></i>{{end}} | {{if .IsArchived}}<i class="archive icon archived-icon"></i>{{end}} | ||||
| </a> | </a> | ||||
| {{if .IsPrivate}} | {{if .IsPrivate}} | ||||
| @@ -70,4 +70,4 @@ | |||||
| {{$.i18n.Tr "explore.repo_no_results"}} | {{$.i18n.Tr "explore.repo_no_results"}} | ||||
| </div> | </div> | ||||
| {{end}} | {{end}} | ||||
| </div> | |||||
| </div> | |||||
| @@ -87,7 +87,7 @@ | |||||
| <div class="extra full_height cor" > | <div class="extra full_height cor" > | ||||
| <div class=" header header_card omit" > | <div class=" header header_card omit" > | ||||
| <a class="header_card image poping up " href="{{.Link}}" data-content="{{.Name}}" data-position="top left" data-variation="tiny inverted"> {{.Name}}</a> | |||||
| <a class="header_card image poping up " href="{{.Link}}" data-content="{{if .Alias}}{{.Alias}}{{else}}{{.Name}}{{end}}" data-position="top left" data-variation="tiny inverted">{{if .Alias}}{{.Alias}}{{else}}{{.Name}}{{end}}</a> | |||||
| </div> | </div> | ||||
| <div class='content descript_height nowrap-2'> | <div class='content descript_height nowrap-2'> | ||||
| @@ -165,6 +165,7 @@ | |||||
| </div> | </div> | ||||
| <script> | <script> | ||||
| console.log({{.tags}}) | |||||
| var data; | var data; | ||||
| var filterData=[]; | var filterData=[]; | ||||
| var num=0; | var num=0; | ||||