Commit 9641c81f authored by Kathleen Tam's avatar Kathleen Tam

Added helper function for Sisense URL display on Eng handbook pages and...

Added helper function for Sisense URL display on Eng handbook pages and renamed the Periscope to Sisense 
parent fb8c3ce4
Pipeline #119827789 failed with stages
in 11 minutes and 13 seconds
......@@ -19,8 +19,17 @@
</ul>
<% end %>
<% if performance_indicator.sisense_url %>
<b> Sisense URL(s)</b>
<ul>
<% performance_indicator.sisense_url.each do |url| %>
<li><a href="<%= url %>"><%= Sisense %></a></li>
<% end %>
</ul>
<% end %>
<% if performance_indicator.periscope_data %>
<b>Chart</b><% if performance_indicator.periscope_data.chart && performance_indicator.periscope_data.dashboard%> (<a href="https://app.periscopedata.com/app/gitlab/<%= performance_indicator.periscope_data.dashboard %>/?widget=<%= performance_indicator.periscope_data.chart %>">Periscope↗</a>)<% end %>
<b>Chart</b><% if performance_indicator.periscope_data.chart && performance_indicator.periscope_data.dashboard%> (<a href="https://app.periscopedata.com/app/gitlab/<%= performance_indicator.periscope_data.dashboard %>/?widget=<%= performance_indicator.periscope_data.chart %>">Sisense↗</a>)<% end %>
<% if ENV['PERISCOPE_EMBED_API_KEY'] %>
<embed width="100%" height="100%" style="min-height:300px;" src="<%= signed_periscope_url(performance_indicator.periscope_data) %>">
<% else %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment