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