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