summaryrefslogtreecommitdiff
path: root/app/views/dashboard/_activities.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-04 11:18:13 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-04 11:18:41 +0200
commit7f6bbf06f8d94f7e3830567167332ca2a42c4573 (patch)
tree753826e1e27c51d5c2bad1400daf1689c38c4c7c /app/views/dashboard/_activities.html.haml
parent87e0429fb19426ecd33142a207a39245f719217e (diff)
downloadgitlab-ce-7f6bbf06f8d94f7e3830567167332ca2a42c4573.tar.gz
Fix bug getting started message when navigate to personal projects w/o them exist
Diffstat (limited to 'app/views/dashboard/_activities.html.haml')
-rw-r--r--app/views/dashboard/_activities.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/dashboard/_activities.html.haml b/app/views/dashboard/_activities.html.haml
new file mode 100644
index 00000000000..c63ef24fca5
--- /dev/null
+++ b/app/views/dashboard/_activities.html.haml
@@ -0,0 +1,13 @@
+= render "events/event_last_push", event: @last_push
+
+.event_filter
+ = event_filter_link EventFilter.push, 'Push events'
+ = event_filter_link EventFilter.merged, 'Merge events'
+ = event_filter_link EventFilter.comments, 'Comments'
+ = event_filter_link EventFilter.team, 'Team'
+
+- if @events.any?
+ .content_list= render @events
+- else
+ %p.nothing_here_message Projects activity will be displayed here
+.loading.hide