aboutsummaryrefslogtreecommitdiff
path: root/templates/user/dashboard/repo_list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/dashboard/repo_list.tmpl')
-rw-r--r--templates/user/dashboard/repo_list.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/user/dashboard/repo_list.tmpl b/templates/user/dashboard/repo_list.tmpl
new file mode 100644
index 00000000..e3d35e8e
--- /dev/null
+++ b/templates/user/dashboard/repo_list.tmpl
@@ -0,0 +1,12 @@
+<li {{if .IsPrivate}}class="private"{{end}}>
+ <a href="{{.Owner.Name}}/{{.Name}}">
+ <i class="octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
+ <span class="repo-name">
+ <!-- <span class="repo-name-prefix">gogits / </span> -->
+ <strong class="repo">{{.Name}}</strong>
+ </span>
+ <span class="right repo-star">
+ <i class="octicon octicon-star"></i>{{.NumStars}}
+ </span>
+ </a>
+</li> \ No newline at end of file