summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-28 00:06:31 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-28 00:06:31 -0400
commitff690fd9760e0cfb5ae9e49aecb7a201f7ca8304 (patch)
tree3e601c42e1fc8ff50df02bf04fb48680a031123e /templates
parentbcfa78b8b559c638c40fa9d0c4ff08c6d8307e88 (diff)
downloadgitea-ff690fd9760e0cfb5ae9e49aecb7a201f7ca8304.tar.gz
gitea-ff690fd9760e0cfb5ae9e49aecb7a201f7ca8304.zip
Fix #200, add VERSION to template files
Diffstat (limited to 'templates')
-rw-r--r--templates/VERSION1
-rw-r--r--templates/issue/list.tmpl7
2 files changed, 6 insertions, 2 deletions
diff --git a/templates/VERSION b/templates/VERSION
new file mode 100644
index 0000000000..c07dee8283
--- /dev/null
+++ b/templates/VERSION
@@ -0,0 +1 @@
+0.3.6.0525 Alpha \ No newline at end of file
diff --git a/templates/issue/list.tmpl b/templates/issue/list.tmpl
index aac27943f3..0fae3eb663 100644
--- a/templates/issue/list.tmpl
+++ b/templates/issue/list.tmpl
@@ -71,9 +71,12 @@
{{range .Issues}}{{if .Poster}}
<div class="list-group-item issue-item{{if not .IsRead}} unread{{end}}" id="issue-{{.Id}}">
<span class="number pull-right">#{{.Index}}</span>
- <h5 class="title"><a href="{{$.RepoLink}}/issues/{{.Index}}">{{.Name}}</a>
+ <h5 class="title">
+ <a href="{{$.RepoLink}}/issues/{{.Index}}">{{.Name}}</a>
<span class="labels">
- <span class="label" style="background-color: #28a1c5">tag</span>
+ {{range .Labels}}
+ <span class="label" style="background-color: {{.Color}}">{{.Name}}</span>
+ {{end}}
</span>
</h5>
<p class="info">