mirror of
https://github.com/gogs/gogs.git
synced 2026-01-05 23:20:04 +01:00
templates/repo: improve symlink file icon in list view (#4237)
This commit is contained in:
@@ -39,7 +39,11 @@
|
||||
</td>
|
||||
{{else}}
|
||||
<td class="name">
|
||||
<span class="octicon octicon-file-{{if or $entry.IsDir}}directory{{else}}text{{end}}"></span>
|
||||
{{if $entry.IsLink}}
|
||||
<span class="octicon octicon-file-symlink-file"></span>
|
||||
{{else}}
|
||||
<span class="octicon octicon-file-{{if or $entry.IsDir}}directory{{else}}text{{end}}"></span>
|
||||
{{end}}
|
||||
<a href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}">{{$entry.Name}}</a>
|
||||
</td>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user