mirror of https://github.com/gogs/gogs.git
templates/repo: improve symlink file icon in list view (#4237)
parent
fda4b1106e
commit
5f8ec0dc8b
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue