Browse Source

adjust activity filter

pull/93/head
Gitea 4 years ago
parent
commit
750a22560f
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      templates/user/profile.tmpl

+ 10
- 0
templates/user/profile.tmpl View File

@@ -121,6 +121,16 @@
<a style="background-color: #40A9FF;color:white;display:block;width:50px;height:25px;text-indent:8px;margin-right:10px;" href="{{.Owner.HomeLink}}?tab=activity&type=own" class="button">个人</a>
<a style="background-color: #40A9FF;color:white;display:block;width:50px;height:25px;text-indent:8px" href="{{.Owner.HomeLink}}?tab=activity&type=all" class="button">所有</a>
</div>
<div class="ui attached secondary segment repos-search">
<div class="ui secondary pointing borderless menu center aligned grid repos-filter">
<a class="item" href="{{.Owner.HomeLink}}?tab=activity&type=all">
{{.i18n.Tr "all"}}
</a>
<a class="item" href="{{.Owner.HomeLink}}?tab=activity&type=own">
{{.i18n.Tr "sources"}}
</a>
</div>
</div>
<div class="feeds">
{{template "user/dashboard/feeds" .}}
</div>


Loading…
Cancel
Save