summaryrefslogtreecommitdiff
path: root/app/views/sherlock/transactions
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-11-09 12:36:01 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2015-11-09 14:29:10 +0100
commit7b5fd8742e6112491f61f27dcca2d8e441cc33a1 (patch)
tree7213089c2ab7b9cb76600a30615c06d066f9d137 /app/views/sherlock/transactions
parentcdaa97443e89a08d857a244e6e8ab0235db9746d (diff)
downloadgitlab-ce-7b5fd8742e6112491f61f27dcca2d8e441cc33a1.tar.gz
Track the amount of times views are rendered
Diffstat (limited to 'app/views/sherlock/transactions')
-rw-r--r--app/views/sherlock/transactions/_file_samples.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/sherlock/transactions/_file_samples.html.haml b/app/views/sherlock/transactions/_file_samples.html.haml
index 0afdbc8dffa..4349c9b7ace 100644
--- a/app/views/sherlock/transactions/_file_samples.html.haml
+++ b/app/views/sherlock/transactions/_file_samples.html.haml
@@ -7,6 +7,7 @@
%thead
%tr
%th= t('sherlock.time_inclusive')
+ %th= t('sherlock.count')
%th= t('sherlock.path')
%th
%tbody
@@ -15,6 +16,7 @@
%td
= sample.duration.round(2)
= t('sherlock.milliseconds')
+ %td= @transaction.view_counts.fetch(sample.file, 1)
%td= sample.relative_path
%td
= link_to(t('sherlock.view'),