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