2013-11-14 01:16:14 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from openslides.config.api import config
|
|
|
|
|
|
|
|
from openslides.utils.widgets import Widget
|
|
|
|
|
|
|
|
|
|
|
|
class WelcomeWidget(Widget):
|
|
|
|
"""
|
|
|
|
Welcome widget with static info for all users.
|
|
|
|
"""
|
|
|
|
name = 'welcome'
|
|
|
|
permission_required = 'projector.can_see_dashboard'
|
|
|
|
default_column = 1
|
|
|
|
default_weight = 10
|
|
|
|
template_name = 'core/widget_welcome.html'
|
2013-12-09 23:56:01 +01:00
|
|
|
icon_css_class = 'icon-home'
|
2013-11-14 01:16:14 +01:00
|
|
|
|
|
|
|
def get_verbose_name(self):
|
|
|
|
return config['welcome_title']
|