Symlink icons (#1416) (#3826)

* Updated vendor code for code.gitea.io/git

* Display symlinks correctly for files and directories

* Added symlink tests

* Applied silverwinds stylesheet patch

Signed-off-by: Tris Forster <tris.git@shoddynet.org>
This commit is contained in:
Tris Forster
2018-05-01 17:04:36 +10:00
committed by Lauris BH
parent 1928920a08
commit 85d14cc229
51 changed files with 837 additions and 33 deletions

View File

@ -73,7 +73,7 @@
{{end}}
</a>
{{else}}
<span class="octicon octicon-file-text"></span>
<span class="octicon octicon-{{EntryIcon $entry}}"></span>
<a href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}">{{$entry.Name}}</a>
{{end}}
</td>