Browse Source

修正项目广场最新更新链接

pull/353/head
OpenIhu 3 years ago
parent
commit
f2616861b2
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      templates/explore/repo_list.tmpl

+ 4
- 6
templates/explore/repo_list.tmpl View File

@@ -7,7 +7,7 @@
padding: 1.0rem !important;
}
.ui.repository.list>.item .header {
font-size: 1.4rem;
font-size: 1.4rem !important;
font-weight: 200;
}
.ui.list>.item>.content{
@@ -28,7 +28,6 @@
}
.repository .ui.mini.menu{
font-size: .6rem;
margin-top: -5px;
}
.repository .ui.right.compact .item{
padding-top: 0;
@@ -53,10 +52,10 @@
活跃{{.i18n.Tr "explore.repos"}}
</a>

<a class="{{if eq .SortType "newest"}}active{{end}} item" href="{{$.Link}}?sort=newest&q={{$.Keyword}}&tab={{$.TabName}}">
<a class="{{if eq .SortType "newest"}}active{{end}} item" href="{{$.Link}}?sort=recentupdate&q={{$.Keyword}}&tab={{$.TabName}}">
<svg class="svg octicon-organization" width="16" height="16" aria-hidden="true">
<use xlink:href="#octicon-organization" />
</svg> {{.i18n.Tr "repo.issues.filter_sort.latest"}}
</svg> {{.i18n.Tr "repo.issues.filter_sort.recentupdate"}}
</a>

<div class="ui right floated secondary filter menu">
@@ -108,8 +107,7 @@
<div class="ui mini right compact menu">
<a class="item">
{{svg "octicon-eye" 16}}
{{.NumWatches}}
{{svg "octicon-eye" 16}} {{.NumWatches}}
</a>
<a class="item">
{{svg "octicon-star" 16}} {{.NumStars}}


Loading…
Cancel
Save