diff options
author | Tris Forster <tris.git@tfconsulting.com.au> | 2018-05-01 17:04:36 +1000 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-05-01 10:04:36 +0300 |
commit | 85d14cc229263c5788cac9370ac60e9582f9de6c (patch) | |
tree | cd8b7d9505335f86eddfdd3379afb21f414c00c0 /templates/repo | |
parent | 1928920a08e038e1ec0f631b2f84f5610638209f (diff) | |
download | gitea-85d14cc229263c5788cac9370ac60e9582f9de6c.tar.gz gitea-85d14cc229263c5788cac9370ac60e9582f9de6c.zip |
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>
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/view_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 34c76fca88..f4bc93cffd 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -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> |