Browse Source

fix issue

tags/v1.22.1.3
zhoupzh 3 years ago
parent
commit
a6adef0dd3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/admin/repo/list.tmpl
  2. +1
    -1
      web_src/js/index.js

+ 1
- 1
templates/admin/repo/list.tmpl View File

@@ -36,7 +36,7 @@
<span class="text gold">{{svg "octicon-lock" 16}}</span>
{{end}}
</td>
<td><a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a></td>
<td><a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Alias}}</a></td>
<td><i class="fa fa{{if .IsPrivate}}-check{{end}}-square-o"></i></td>
<td>{{.NumWatches}}</td>
<td>{{.NumStars}}</td>


+ 1
- 1
web_src/js/index.js View File

@@ -2677,7 +2677,7 @@ function initTemplateSearch() {
// Parse the response from the api to work with our dropdown
$.each(response.data, (_r, repo) => {
filteredResponse.results.push({
name: htmlEncode(repo.full_name),
name: htmlEncode(repo.full_display_name),
value: repo.id
});
});


Loading…
Cancel
Save