
org.sonar.server.dashboard.widget.custom_measures.html.erb Maven / Gradle / Ivy
<%
measures=[]
(1..10).each do |index|
metric=widget_properties["metric#{index}"]
m=(metric ? measure(metric) : nil)
measures << m if m
end
period = params[:period]
unless measures.empty? || measures.none? { |measure| measure.visible?(period.to_i) }
%>
<% end %>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy