Progress
accounts approved, video player testing, bookmark collections
This commit is contained in:
@@ -104,4 +104,17 @@ module ApplicationHelper
|
||||
# : todo :
|
||||
return 'white'
|
||||
end
|
||||
|
||||
def open_registrations?
|
||||
Setting.registrations_mode == 'open'
|
||||
end
|
||||
|
||||
def approved_registrations?
|
||||
Setting.registrations_mode == 'approved'
|
||||
end
|
||||
|
||||
def closed_registrations?
|
||||
Setting.registrations_mode == 'none'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user