summaryrefslogtreecommitdiff
path: root/app/views/projects/product_analytics/index.html.haml
blob: 386f92651797d2fd8ac3e3f73022bb866b146ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.')