<% manage_allowed = User.current.allowed_to?(:manage_related_issues, @repository.project) %>