You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
super(options.merge(subject: _('A Data Management Plan in %{application_name} has been shared with you') % {application_name: Rails.configuration.branding[:application][:name]}))
280
265
end
281
266
282
-
283
-
##
284
-
# User Notification Preferences
285
-
defcreate_default_preferences
286
-
# Set the default preferences for a new user or if existing user if null
287
-
ifself.id.nil? || self.prefs == {}
288
-
self.prefs=self.class.create_default_preferences
289
-
end
290
-
end
291
-
292
-
defself.create_default_preferences
293
-
default_prefs={
294
-
users: {
295
-
new_comment: true,
296
-
admin_privileges: true,
297
-
added_as_coowner: true
298
-
},
299
-
owners_and_coowners: {
300
-
visibility_changed: true
301
-
},
302
-
admins: {
303
-
template_published: true,
304
-
template_unpublished: true,
305
-
feedback_requested: true
306
-
}
307
-
}
308
-
end
309
-
310
-
# TODO: Remove this, its never called.
311
-
# this generates a reset password link for a given user
312
-
# which can then be sent to them with the appropriate host
0 commit comments