|
|
|
@@ -83,9 +83,12 @@ |
|
|
|
</div> |
|
|
|
<div class="ui eleven wide column"> |
|
|
|
<div class="ui secondary stackable pointing menu"> |
|
|
|
<a class='{{if and (ne .TabName "activity") (ne .TabName "following") (ne .TabName "followers") (ne .TabName "stars")}}active{{end}} item' href="{{.Owner.HomeLink}}"> |
|
|
|
<a class='{{if and (ne .TabName "datasets") (ne .TabName "activity") (ne .TabName "following") (ne .TabName "followers") (ne .TabName "stars")}}active{{end}} item' href="{{.Owner.HomeLink}}"> |
|
|
|
{{svg "octicon-repo" 16}} {{.i18n.Tr "user.repositories"}} |
|
|
|
</a> |
|
|
|
<a class='{{if eq .TabName "datasets"}}active{{end}} item' href="{{.Owner.HomeLink}}?tab=datasets"> |
|
|
|
{{svg "octicon-file-submodule" 16}} {{.i18n.Tr "user.datasets"}} |
|
|
|
</a> |
|
|
|
<a class='{{if eq .TabName "activity"}}active{{end}} item' href="{{.Owner.HomeLink}}?tab=activity"> |
|
|
|
{{svg "octicon-rss" 16}} {{.i18n.Tr "user.activity"}} |
|
|
|
</a> |
|
|
|
@@ -127,6 +130,8 @@ |
|
|
|
{{template "repo/user_cards" .}} |
|
|
|
{{else if eq .TabName "followers"}} |
|
|
|
{{template "repo/user_cards" .}} |
|
|
|
{{else if eq .TabName "datasets"}} |
|
|
|
{{template "datasets/dataset_list" .}} |
|
|
|
{{else}} |
|
|
|
{{template "explore/repo_search" .}} |
|
|
|
{{template "explore/repo_list" .}} |
|
|
|
|