org.sonar.plugins.scmactivity.scmActivityWidget.erb Maven / Gradle / Ivy
<%
last_commit_date = measure('last_commit_date')
revision_measure = measure('revision')
commits_measure = measure('commits')
if commits_measure
%>
Commits
<%= format_measure(commits_measure) -%>
<%= dashboard_configuration.selected_period? ? format_variation(commits_measure) : trend_icon(commits_measure) -%>
<%= format_measure(revision_measure, :prefix => 'Revision: ') -%>
<%= format_measure(last_commit_date, :prefix => 'Last commit on ') -%>
<% end %>