1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Merge pull request #560 from evolvedlight/master

First cut of fork repo
This commit is contained in:
无闻
2014-10-18 23:59:36 -04:00
5 changed files with 168 additions and 5 deletions

View File

@@ -101,6 +101,7 @@
<table>
<tbody>
{{range .Sections}}
Test: {{ .NumLines}}
{{range .Lines}}
<tr class="{{DiffLineTypeToStr .Type}}-code nl-1 ol-1">
<td class="lines-num lines-num-old">
@@ -109,6 +110,7 @@
<td class="lines-num lines-num-new">
<span rel="L1">{{if .RightIdx}}{{.RightIdx}}{{end}}</span>
</td>
<td class="lines-code">
<pre>{{ToUtf8 .Content}}</pre>
</td>

View File

@@ -44,14 +44,15 @@
</button>
</a>
</li>
<!-- <li id="repo-header-fork">
<a id="repo-header-fork-btn" href="{{.RepoLink}}/action/fork">
<li id="repo-header-fork">
<a id="repo-header-fork-btn" {{if not .IsRepositoryOwner}} href="{{.RepoLink}}/action/fork"{{end}}>
<button class="btn btn-gray text-bold btn-radius">
<i class="octicon octicon-repo-forked"></i>{{.i18n.Tr "repo.fork"}}
<span class="num">{{.Repository.NumForks}}</span>
</button>
</a>
</li> -->
</li>
</ul>
</div>
</div>