rules_configuration.sort_by=Sort by:
rules_configuration.rule_name=Rule name
rules_configuration.creation_date=Creation date
-rules_configuration.removal_date=Removal date
rules_configuration.available_since=Available since
-rules_configuration.removed_since=Removed since
rules_configuration.select_tags=Select Tags
rules_configuration.select_tags_for_rule=Select Tags for Rule:
rules_configuration.available_tags=Available Tags
<span id="rule_repository_<%= rule.id -%>"><%= message('rules_configuration.repository') %>: <%= rule.repositoryKey %></span>
<%= image_tag 'sep12.png' -%>
<span id="rule_key_<%= rule.id -%>"><%= message('key') %>: <%= rule.key %></span>
- <%= image_tag 'sep12.png' -%>
- <% if rule.status == "REMOVED" %>
- <span id="rule_available_since_<%= rule.id -%>"><%= message('rules_configuration.removed_since') %>: <%= human_short_date(Api::Utils.java_to_ruby_datetime(rule.updatedAt)) %></span>
- <% else %>
+ <!-- Some rules might not have some "rules.created_at" date, see http://jira.codehaus.org/browse/SONAR-5146 -->
+ <% if rule.createdAt -%>
+ <%= image_tag 'sep12.png' -%>
<span id="rule_available_since_<%= rule.id -%>"><%= message('rules_configuration.available_since') %> <%= human_short_date(Api::Utils.java_to_ruby_datetime(rule.createdAt)) %></span>
<% end %>
</div>