Browse Source

Remove some fork buttons/counters

master
Gerben 6 years ago
parent
commit
1bbb7dfbb6
2 changed files with 0 additions and 14 deletions
  1. +0
    -4
      templates/explore/repo_list.tmpl
  2. +0
    -10
      templates/repo/header.tmpl

+ 0
- 4
templates/explore/repo_list.tmpl View File

@@ -10,10 +10,6 @@
{{else if .IsMirror}}
<span><i class="octicon octicon-repo-clone"></i></span>
{{end}}

<div class="ui right metas">
<span class="text grey"><i class="octicon octicon-git-branch"></i> {{.NumForks}}</span>
</div>
</div>
{{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}}
<p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}</p>


+ 0
- 10
templates/repo/header.tmpl View File

@@ -22,16 +22,6 @@
{{.NumWatches}}
</a>
</div>
{{if .CanBeForked}}
<div class="ui compact labeled button" tabindex="0">
<a class="ui compact button {{if not $.CanSignedUserFork}}poping up{{end}}" {{if $.CanSignedUserFork}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" data-position="top center" data-variation="tiny"{{end}}>
<i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}}
</a>
<a class="ui basic label" href="{{.Link}}/forks">
{{.NumForks}}
</a>
</div>
{{end}}
</div>
</div><!-- end grid -->
</div><!-- end container -->


Loading…
Cancel
Save