diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-14 17:12:28 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-14 17:12:28 +0800 |
commit | d18237850c6a4ae855b3f8592994c91462fcdb0a (patch) | |
tree | d379828e1cd31ad6db2f02d8ff3d01b9045b39a4 /templates/repo/single.tmpl | |
parent | 398809b135742ad8a7441f65fa7d0ccec318bd91 (diff) | |
download | gitea-d18237850c6a4ae855b3f8592994c91462fcdb0a.tar.gz gitea-d18237850c6a4ae855b3f8592994c91462fcdb0a.zip |
add draft page for empty link
Diffstat (limited to 'templates/repo/single.tmpl')
-rw-r--r-- | templates/repo/single.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl index 4a71ad3465..fbd05c4ba7 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -30,7 +30,7 @@ <tbody> {{range .Files}} <tr {{if .IsDir}}class="is-dir"{{end}}> - <td class="name"><i class="fa fa-file"></i><a href="#">{{.Name}}</a></td> + <td class="name"><i class="fa {{if .IsDir}}fa-folder{{else}}fa-file{{end}}"></i><a href="#">{{.Name}}</a></td> <td class="date"><time datetime="{{.Created}}" data-title="true" title="{{.Created}}">{{TimeSince .Created}}</time></td> <td class="text">{{.Message}}</td> </tr> |