+ I18n.t("issues.helper.reportable_title.note", :note_id => reportable.id)
+ end
+ end
+
+ def open_issues_count
+ count = Issue.visible_to(current_user).open.limit(Settings.max_issues_count).size
+ if count >= Settings.max_issues_count
+ tag.span(I18n.t("count.at_least_pattern", :count => Settings.max_issues_count), :class => "badge count-number")
+ elsif count.positive?
+ tag.span(count, :class => "badge count-number")