summaryrefslogtreecommitdiff
path: root/app/views/events
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-01-02 09:58:27 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-01-02 09:58:27 +0000
commit86b6053867383594a6a2a4eeaaf59529aa3c19fc (patch)
tree1560ce91653b7f3568d8e950094f81bcb327d647 /app/views/events
parentdab5eaf8da36e1094dbd10691acce119d6d77233 (diff)
downloadgitlab-ce-86b6053867383594a6a2a4eeaaf59529aa3c19fc.tar.gz
Resolve "User activity is stuck loading when there is none"
Diffstat (limited to 'app/views/events')
-rw-r--r--app/views/events/_events.html.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/events/_events.html.haml b/app/views/events/_events.html.haml
index 68c19df092d..6ae4c334f7f 100644
--- a/app/views/events/_events.html.haml
+++ b/app/views/events/_events.html.haml
@@ -1 +1,4 @@
-= render partial: 'events/event', collection: @events
+- if @events.present?
+ = render partial: 'events/event', collection: @events
+- else
+ .nothing-here-block= _("No activities found")