mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
fix #650
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
<li>
|
||||
<a href="{{AppSubUrl}}/{{.Name}}">
|
||||
<i class="icon octicon octicon-organization"></i>
|
||||
<strong>{{.Name}}</strong>
|
||||
<strong>{{.ShortName 20}}</strong>
|
||||
<span class="ui right text light grey">
|
||||
<i class="octicon octicon-repo"></i>{{.NumRepos}}
|
||||
</span>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<div class="ui floating dropdown link jump">
|
||||
<span class="text">
|
||||
<img class="ui avatar image" src="{{.ContextUser.AvatarLink}}">
|
||||
{{.ContextUser.Name}}
|
||||
{{.ContextUser.ShortName 20}}
|
||||
<i class="dropdown icon"></i>
|
||||
</span>
|
||||
<div class="context user overflow menu" tabindex="-1">
|
||||
@@ -17,7 +17,7 @@
|
||||
{{range .Orgs}}
|
||||
<a class="{{if eq $.ContextUser.Id .Id}}active selected{{end}} item" href="{{AppSubUrl}}/org/{{.Name}}/{{if $.PageIsIssues}}issues{{else if $.PageIsPulls}}pulls{{else}}dashboard{{end}}">
|
||||
<img class="ui avatar image" src="{{.AvatarLink}}">
|
||||
{{.Name}}
|
||||
{{.ShortName 20}}
|
||||
</a>
|
||||
{{end}}
|
||||
</div>
|
||||
@@ -42,7 +42,7 @@
|
||||
<div class="right menu">
|
||||
<div class="item">
|
||||
<a class="ui blue basic button" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}">
|
||||
{{.i18n.Tr "home.view_home" .ContextUser.Name}}
|
||||
{{.i18n.Tr "home.view_home" (.ContextUser.ShortName 10)}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -55,27 +55,7 @@
|
||||
</a>
|
||||
</div>
|
||||
{{if ne .TabName "activity"}}
|
||||
<div class="ui repository list">
|
||||
{{range .Repos}}
|
||||
{{if or (not .IsPrivate) (.HasAccess $.SignedUser)}}
|
||||
<div class="item">
|
||||
<div class="ui header">
|
||||
<a href="{{AppSubUrl}}/{{$.Owner.Name}}/{{.Name}}">{{.Name}}</a>
|
||||
{{if .IsPrivate}}
|
||||
<span class="text gold"><i class="icon octicon octicon-lock"></i></span>
|
||||
{{end}}
|
||||
|
||||
<div class="ui right metas">
|
||||
<span class="text grey"><i class="octicon octicon-star"></i> {{.NumStars}}</span>
|
||||
<span class="text grey"><i class="octicon octicon-git-branch"></i> {{.NumForks}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{if .Description}}<p>{{.Description}}</p>{{end}}
|
||||
<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}</p>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
{{template "explore/repo_list" .}}
|
||||
{{else}}
|
||||
<br>
|
||||
<div class="feeds">
|
||||
|
Reference in New Issue
Block a user