OpenSlides/openslides/core/widgets.py
Norman Jäckel 21ff62dd32 Changes in projector and core app and in utils.
Changed api for main menu entries.
Enhanced http error pages using a classed based views.
Moved dashboard and select widgets view from projector to core app.
Also some small clean ups.
2014-01-10 16:17:54 +01:00

21 lines
485 B
Python

# -*- 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'
icon_css_class = 'icon-home'
def get_verbose_name(self):
return config['welcome_title']