2015-11-17 00:11:59 +08:00
|
|
|
{{template "base/head" .}}
|
2023-02-02 06:56:10 +08:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content user profile">
|
2015-12-08 06:30:52 +08:00
|
|
|
<div class="ui container">
|
2017-12-31 08:47:52 +08:00
|
|
|
<div class="ui stackable grid">
|
2023-05-24 01:55:51 +08:00
|
|
|
<div class="ui four wide column">
|
2023-07-07 02:59:24 +08:00
|
|
|
{{template "shared/user/profile_big_avatar" .}}
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|
2023-05-24 01:55:51 +08:00
|
|
|
<div class="ui twelve wide column">
|
2023-07-07 02:59:24 +08:00
|
|
|
<div class="gt-mb-4">
|
2023-05-09 13:57:24 +08:00
|
|
|
{{template "user/overview/header" .}}
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|
2016-12-29 22:58:24 +08:00
|
|
|
|
|
|
|
{{if eq .TabName "activity"}}
|
2023-04-21 01:33:30 +08:00
|
|
|
{{if .ContextUser.KeepActivityPrivate}}
|
2020-06-06 04:01:53 +08:00
|
|
|
<div class="ui info message">
|
2023-09-25 16:56:50 +08:00
|
|
|
<p>{{ctx.Locale.Tr "user.disabled_public_activity"}}</p>
|
2020-06-06 04:01:53 +08:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2020-11-19 06:00:16 +08:00
|
|
|
{{template "user/heatmap" .}}
|
2023-09-01 05:28:45 +08:00
|
|
|
{{template "user/dashboard/feeds" .}}
|
2016-12-29 22:58:24 +08:00
|
|
|
{{else if eq .TabName "stars"}}
|
|
|
|
<div class="stars">
|
2018-05-24 09:03:42 +08:00
|
|
|
{{template "explore/repo_search" .}}
|
2016-12-29 22:58:24 +08:00
|
|
|
{{template "explore/repo_list" .}}
|
2017-02-07 19:54:16 +08:00
|
|
|
{{template "base/paginate" .}}
|
2016-12-29 22:58:24 +08:00
|
|
|
</div>
|
2020-02-10 04:18:01 +08:00
|
|
|
{{else if eq .TabName "following"}}
|
|
|
|
{{template "repo/user_cards" .}}
|
|
|
|
{{else if eq .TabName "followers"}}
|
|
|
|
{{template "repo/user_cards" .}}
|
2023-07-07 02:59:24 +08:00
|
|
|
{{else if eq .TabName "overview"}}
|
2024-03-01 15:11:51 +08:00
|
|
|
<div id="readme_profile" class="markup">{{.ProfileReadme}}</div>
|
2023-07-07 02:59:24 +08:00
|
|
|
{{else}}
|
2018-05-24 09:03:42 +08:00
|
|
|
{{template "explore/repo_search" .}}
|
2016-12-29 22:58:24 +08:00
|
|
|
{{template "explore/repo_list" .}}
|
|
|
|
{{template "base/paginate" .}}
|
2015-12-08 06:30:52 +08:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-03-02 21:47:55 +08:00
|
|
|
</div>
|
2015-12-08 06:30:52 +08:00
|
|
|
{{template "base/footer" .}}
|