mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 04:12:10 +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="a70690ea
-ebfc-48fe-af23-cdc33bcb2098">
This commit is contained in:
parent
6281ebfec3
commit
d2142ba3c3
8 changed files with 12 additions and 10 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue