summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-15 05:30:59 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-15 05:30:59 -0400
commit4b8e888437a9972459e73496d811ea30f105f06c (patch)
treec319bb015f1645b03979c74d6819fa0240f1275c /templates/user
parent06deed820d9f48ecf972c8716b17ad58b91ab9b9 (diff)
downloadgitea-4b8e888437a9972459e73496d811ea30f105f06c.tar.gz
gitea-4b8e888437a9972459e73496d811ea30f105f06c.zip
Finish feeds
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/dashboard.tmpl12
-rw-r--r--templates/user/profile.tmpl4
2 files changed, 13 insertions, 3 deletions
diff --git a/templates/user/dashboard.tmpl b/templates/user/dashboard.tmpl
index 7768a7ee6d..14b3451562 100644
--- a/templates/user/dashboard.tmpl
+++ b/templates/user/dashboard.tmpl
@@ -14,7 +14,17 @@
<div id="gogs-body" class="container">
{{if .HasInfo}}<div class="alert alert-info">{{.InfoMsg}}</div>{{end}}
<div id="gogs-feed-left" class="col-md-8">
- Website is still in the progress of building...please come back later! <strong>{{.SignedUserName}}</strong> is logged!
+ <ul class="list-unstyled activity-list">
+ {{range .Feeds}}
+ <li>
+ <i class="icon fa fa-{{ActionIcon .OpType}}"></i>
+ <div class="info"><span class="meta">{{TimeSince .Created}}</span><br>{{ActionDesc . | str2html}}</div>
+ <span class="clearfix"></span>
+ </li>
+ {{else}}
+ <li>Not any activity yet.</li>
+ {{end}}
+ </ul>
</div>
<div id="gogs-feed-right" class="col-md-4">
<div class="panel panel-default repo-panel">
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index fd4313efdc..f2bb984b31 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -39,12 +39,12 @@
<span class="clearfix"></span>
</li>
{{else}}
- <li>Not found any activity</li>
+ <li>Not any public activity yet.</li>
{{end}}
</ul>
</div>
{{else}}
- <div class="tab-pane active">repo</div>
+ <div class="tab-pane active">repo</div>
{{end}}
</div>
</div>