Browse Source

fix issue

tags/v1.22.1.3
zhoupzh 4 years ago
parent
commit
066b3206b6
2 changed files with 4 additions and 3 deletions
  1. +2
    -2
      templates/org/repo_list.tmpl
  2. +2
    -1
      templates/org/select_pro.tmpl

+ 2
- 2
templates/org/repo_list.tmpl View File

@@ -33,7 +33,7 @@
<img class="ui avatar image" src="{{.RelAvatarLink}}">
{{end}}
<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}}
</a>
{{if .IsPrivate}}
@@ -70,4 +70,4 @@
{{$.i18n.Tr "explore.repo_no_results"}}
</div>
{{end}}
</div>
</div>

+ 2
- 1
templates/org/select_pro.tmpl View File

@@ -87,7 +87,7 @@
<div class="extra full_height cor" >
<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 class='content descript_height nowrap-2'>
@@ -165,6 +165,7 @@
</div>

<script>
console.log({{.tags}})
var data;
var filterData=[];
var num=0;


Loading…
Cancel
Save