app/views/hyrax/admin/analytics/collection_reports/index.html.erb in hyrax-3.5.0 vs app/views/hyrax/admin/analytics/collection_reports/index.html.erb in hyrax-3.6.0
- old
+ new
@@ -6,10 +6,10 @@
<div class="row">
<div class="col-sm-12">
<div class="collection-reports">
-<% if Hyrax.config.analytics? %>
+<% if Hyrax.config.analytics? && Hyrax.config.analytics_provider != 'ga4' %>
<div class="panel panel-default">
<div class="panel-heading"><%= t('.repo_summary') %> <b><%= pluralize(Collection.count, "collection") %></b>, <%= t('.repo_summary_2') %> <b><%= @pageviews.all %> <%= t('.views') %></b> <%= t('.and') %> <b><%= @downloads.all %> <%= t('.downloads') %></b>.</div>
<div class="panel-body">
<div class="row text-center">
\ No newline at end of file