mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 14:07:20 +00:00
Update octicons and use octicon-file-directory-symlink
(#25453)
Make use of the [new octicon](https://github.com/primer/octicons/issues/945) that indicates a symlink to a directory: <img width="189" alt="Screenshot 2023-06-22 at 22 50 57" src="https://github.com/go-gitea/gitea/assets/115237/a70690ea-ebfc-48fe-af23-cdc33bcb2098">
This commit is contained in:
@ -210,7 +210,7 @@ func EntryIcon(entry *git.TreeEntry) string {
|
||||
return "file-symlink-file"
|
||||
}
|
||||
if te.IsDir() {
|
||||
return "file-submodule"
|
||||
return "file-directory-symlink"
|
||||
}
|
||||
return "file-symlink-file"
|
||||
case entry.IsDir():
|
||||
|
Reference in New Issue
Block a user