mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 02:59:13 +01:00
15 lines
451 B
Handlebars
15 lines
451 B
Handlebars
|
<div class="file-body file-code code-view">
|
||
|
<table>
|
||
|
<tbody>
|
||
|
{{range .SearchResult.Lines}}
|
||
|
<tr>
|
||
|
<td class="lines-num">
|
||
|
<a href="{{$.RepoLink}}/src/commit/{{PathEscape $.SearchResult.CommitID}}/{{PathEscapeSegments $.SearchResult.Filename}}#L{{.Num}}"><span>{{.Num}}</span></a>
|
||
|
</td>
|
||
|
<td class="lines-code chroma"><code class="code-inner">{{.FormattedContent}}</code></td>
|
||
|
</tr>
|
||
|
{{end}}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|