summaryrefslogtreecommitdiffstats
path: root/templates/repo/single.tmpl
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-14 17:12:28 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-14 17:12:28 +0800
commitd18237850c6a4ae855b3f8592994c91462fcdb0a (patch)
treed379828e1cd31ad6db2f02d8ff3d01b9045b39a4 /templates/repo/single.tmpl
parent398809b135742ad8a7441f65fa7d0ccec318bd91 (diff)
downloadgitea-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.tmpl2
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>