Sha256: bb24ead53f27dce4d880471b55b251cf808f3353fd39bebb91306b27bc868a67
Contents?: true
Size: 555 Bytes
Versions: 2
Compression:
Stored size: 555 Bytes
Contents
module UcbRails::LdapPersonSearchHelper def link_to_ldap_person_entry(entry) UcbRails::Renderer::LdapPersonSearchResultLink.new(self, entry).html end def ldap_entry_class(entry) Array['ldap-result'].tap do |result| result << 'ldap-result-exists' if ldap_already_include?(entry.uid) end end def ldap_already_include?(uid) ldap_person_search_existing_uids.include?(uid.to_s) end def ldap_person_search_existing_uids @ldap_person_search_existing_uids ||= (@lps_existing_uids || []).map(&:to_s) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ucb_rails-0.0.3 | app/helpers/ucb_rails/ldap_person_search_helper.rb |
ucb_rails-0.0.2 | app/helpers/ucb_rails/ldap_person_search_helper.rb |