diff options
Diffstat (limited to 'app/views/projects/product_analytics/index.html.haml')
-rw-r--r-- | app/views/projects/product_analytics/index.html.haml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/projects/product_analytics/index.html.haml b/app/views/projects/product_analytics/index.html.haml new file mode 100644 index 00000000000..386f9265179 --- /dev/null +++ b/app/views/projects/product_analytics/index.html.haml @@ -0,0 +1,16 @@ +- page_title _('Product Analytics') + += render 'links' + +- if @events.any? + %p + - if @events.total_count > @events.size + = _('Number of events for this project: %{total_count}.') % { total_count: number_with_delimiter(@events.total_count) } + %ol + - @events.each do |event| + %li + %code= event.as_json_wo_empty +- else + .empty-state + .text-content + = _('There are currently no events.') |