forked from forgejo/forgejo
parent
4e7eb5be9d
commit
23eec25274
14 changed files with 304 additions and 164 deletions
|
@ -1 +1 @@
|
|||
0.5.7.1105 Beta
|
||||
0.5.7.1106 Beta
|
|
@ -54,7 +54,7 @@
|
|||
{{end}}
|
||||
{{end}}
|
||||
</li>
|
||||
<li id="repo-commits-jump" class="repo-jump right">
|
||||
<!-- <li id="repo-commits-jump" class="repo-jump right">
|
||||
<a href="#">
|
||||
<button class="btn btn-small btn-gray btn-right-radius"><i class="octicon octicon-git-commit"></i></button>
|
||||
</a>
|
||||
|
@ -63,7 +63,7 @@
|
|||
<a href="#">
|
||||
<button class="btn btn-small btn btn-small btn-gray btn-left-radius"><i class="octicon octicon-list-unordered"></i></button>
|
||||
</a>
|
||||
</li>
|
||||
</li> -->
|
||||
</ul>
|
||||
{{if .IsFile}}
|
||||
{{template "repo/view_file" .}}
|
||||
|
|
|
@ -70,13 +70,18 @@
|
|||
<div class="tab-pane active">
|
||||
<div id="org-repo-list">
|
||||
{{range .Repos}}
|
||||
{{if not .IsPrivate}}
|
||||
{{if or (not .IsPrivate) (.HasAccess $.SignedUserName)}}
|
||||
<div class="org-repo-item">
|
||||
<ul class="org-repo-status right">
|
||||
<li><i class="octicon octicon-star"></i> {{.NumStars}}</li>
|
||||
<li><i class="octicon octicon-git-branch"></i> {{.NumForks}}</li>
|
||||
</ul>
|
||||
<h2><a href="{{AppSubUrl}}/{{$.Owner.Name}}/{{.Name}}">{{.Name}}</a></h2>
|
||||
<h2>
|
||||
<a href="{{AppSubUrl}}/{{$.Owner.Name}}/{{.Name}}">{{.Name}}</a>
|
||||
{{if .IsPrivate}}
|
||||
<span class="text-gold"><i class="octicon octicon-lock"></i></span>
|
||||
{{end}}
|
||||
</h2>
|
||||
<p class="org-repo-description">{{.Description}}</p>
|
||||
<p class="org-repo-updated">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}</p>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue