|
|
@ -22,12 +22,12 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<ul> |
|
|
|
<ul class="repo-owner-name-list"> |
|
|
|
{{range .Repos}} |
|
|
|
{{range .Repos}} |
|
|
|
<li {{if .IsPrivate}}class="private"{{end}}> |
|
|
|
<li {{if .IsPrivate}}class="private"{{end}}> |
|
|
|
<a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}"> |
|
|
|
<a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}"> |
|
|
|
<i class="icon octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i> |
|
|
|
<i class="icon octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i> |
|
|
|
<strong>{{.Name}}</strong> |
|
|
|
<strong class="text truncate item-name">{{.Name}}</strong> |
|
|
|
<span class="ui right text light grey"> |
|
|
|
<span class="ui right text light grey"> |
|
|
|
<i class="octicon octicon-star"></i>{{.NumStars}} |
|
|
|
<i class="octicon octicon-star"></i>{{.NumStars}} |
|
|
|
</span> |
|
|
|
</span> |
|
|
@ -42,12 +42,14 @@ |
|
|
|
{{.i18n.Tr "home.collaborative_repos"}} <span class="ui grey label">{{.CollaborateCount}}</span> |
|
|
|
{{.i18n.Tr "home.collaborative_repos"}} <span class="ui grey label">{{.CollaborateCount}}</span> |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<ul> |
|
|
|
<ul id="collaborative-repo-list"> |
|
|
|
{{range .CollaborativeRepos}} |
|
|
|
{{range .CollaborativeRepos}} |
|
|
|
<li {{if .IsPrivate}}class="private"{{end}}> |
|
|
|
<li {{if .IsPrivate}}class="private"{{end}}> |
|
|
|
<a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}"> |
|
|
|
<a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}"> |
|
|
|
<i class="icon octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i> |
|
|
|
<i class="icon octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i> |
|
|
|
{{.Owner.Name}} / <strong>{{.Name}}</strong> |
|
|
|
<span class="text truncate owner-and-repo"> |
|
|
|
|
|
|
|
<span class="text truncate owner-name">{{.Owner.Name}}</span> / <strong>{{.Name}}</strong> |
|
|
|
|
|
|
|
</span> |
|
|
|
<span class="ui right text light grey"> |
|
|
|
<span class="ui right text light grey"> |
|
|
|
<i class="octicon octicon-star"></i>{{.NumStars}} |
|
|
|
<i class="octicon octicon-star"></i>{{.NumStars}} |
|
|
|
</span> |
|
|
|
</span> |
|
|
@ -68,12 +70,12 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<ul> |
|
|
|
<ul class="repo-owner-name-list"> |
|
|
|
{{range .ContextUser.Orgs}} |
|
|
|
{{range .ContextUser.Orgs}} |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<a href="{{AppSubUrl}}/{{.Name}}"> |
|
|
|
<a href="{{AppSubUrl}}/{{.Name}}"> |
|
|
|
<i class="icon octicon octicon-organization"></i> |
|
|
|
<i class="icon octicon octicon-organization"></i> |
|
|
|
<strong>{{.ShortName 20}}</strong> |
|
|
|
<strong class="text truncate item-name">{{.Name}}</strong> |
|
|
|
<span class="ui right text light grey"> |
|
|
|
<span class="ui right text light grey"> |
|
|
|
<i class="octicon octicon-repo"></i>{{.NumRepos}} |
|
|
|
<i class="octicon octicon-repo"></i>{{.NumRepos}} |
|
|
|
</span> |
|
|
|
</span> |
|
|
@ -93,12 +95,12 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<ul> |
|
|
|
<ul class="repo-owner-name-list"> |
|
|
|
{{range .Mirrors}} |
|
|
|
{{range .Mirrors}} |
|
|
|
<li {{if .IsPrivate}}class="private"{{end}}> |
|
|
|
<li {{if .IsPrivate}}class="private"{{end}}> |
|
|
|
<a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}"> |
|
|
|
<a href="{{AppSubUrl}}/{{$.ContextUser.Name}}/{{.Name}}"> |
|
|
|
<i class="icon octicon octicon-repo-clone"></i> |
|
|
|
<i class="icon octicon octicon-repo-clone"></i> |
|
|
|
<strong>{{.Name}}</strong> |
|
|
|
<strong class="text truncate item-name">{{.Name}}</strong> |
|
|
|
<span class="ui right text light grey"> |
|
|
|
<span class="ui right text light grey"> |
|
|
|
<i class="octicon octicon-sync"></i>{{.Interval}}H |
|
|
|
<i class="octicon octicon-sync"></i>{{.Interval}}H |
|
|
|
</span> |
|
|
|
</span> |
|
|
|