environment_notification_plugin.rb
608 Bytes
class EnvironmentNotificationPlugin < Noosfero::Plugin
def self.plugin_name
"Environment Notifications Plugin"
end
def self.plugin_description
_("A plugin for environment notifications.")
end
def stylesheet?
true
end
def js_files
%w(
public/environment_notification_plugin.js
)
end
def body_beginning
expanded_template('environment_notification_plugin_admin/show_notification.html.erb')
end
def admin_panel_links
{:title => _('Notification Manager'), :url => {:controller => 'environment_notification_plugin_admin', :action => 'index'}}
end
end