diff options
| author | Felix Hanley <felix@userspace.com.au> | 2020-04-07 03:32:09 +0000 |
|---|---|---|
| committer | Felix Hanley <felix@userspace.com.au> | 2020-04-07 03:32:09 +0000 |
| commit | d249175eed66c382ea71372ccaa683c9a9cc4f68 (patch) | |
| tree | a0a7ccead4b39835b9d4c49e4f415c6daf5ded6d /tmpl | |
| parent | ec84e5226503f4c1a4ec8658f9db52abf9674c99 (diff) | |
| download | sws-d249175eed66c382ea71372ccaa683c9a9cc4f68.tar.gz sws-d249175eed66c382ea71372ccaa683c9a9cc4f68.tar.bz2 | |
Add filter by referrer
Diffstat (limited to 'tmpl')
| -rw-r--r-- | tmpl/hitView.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmpl/hitView.tmpl b/tmpl/hitView.tmpl index 6e7b5c8..cb05929 100644 --- a/tmpl/hitView.tmpl +++ b/tmpl/hitView.tmpl @@ -86,7 +86,9 @@ <table class="table is-striped is-fullwidth details details--referrers"> {{ range .ReferrerSet }} <tr> - <td class="details__name">{{ .Name }}</td> + <td class="details__name"> + <a href="/sites/{{ $siteID }}?{{ $payload.QuerySetEncode "referrer" .Name }}">{{ .Name }}</a> + </td> <td class="details__count"><span class="details__percent has-text-right">{{ percent .Count $sum | round 1 }}%</span> ({{ .Count }})</td> </tr> {{ end }} |
