module ServicesHelper
end

module ServicesHelper

  def css_class_for_status(status)
    {
      'outdated' => 'static',
      'retired' => 'default',
      'proposed' => 'primary',
      'current' => 'success',
      'retracted' => 'warning',
      'rejected' => 'danger'
    }[status] + ' btn-status' || ''
  end
end

Add method to map css_class to service_version helper
Add method to map css_class to service_version helper
