Project

General

Profile

« Previous | Next » 

Revision 6874bbd9

Added by Paul Kelly about 14 years ago

  • ID 6874bbd96a2988d324bee75a00c288211556ba40

Fixes #232 - Removes AS from Users page

The password verification test has not yet been implemented but will get done in AuthSourceInternal fix
All tests now pass These tests now work whether settings[:ldap] is enabled or not
Plus whitespace fix

View differences:

app/helpers/users_helper.rb
module UsersHelper
def last_login_on_column record
time_ago_in_words(record.last_login_on.getlocal) if record.last_login_on
time_ago_in_words(record.last_login_on.getlocal) + " ago" if record.last_login_on
end
def admin_column record
image_tag("true.png", :size => "18x18") if record.admin
end
def auth_source_column record
record.auth_source.to_label if record.auth_source
end
end

Also available in: Unified diff