예제 #1
0
class ContainerCreateView(ProjectCreateView):
    model = models.ProjectContainer
    slug_url_kwarg = 'project_slug'
    form_class = forms.ContainerCreateForm
    template_name = 'meinberlin_projectcontainers/container_create_form.html'
    success_message = _('Container successfully created.')

    blueprint = ProjectBlueprint(
        title=_('Container'),
        description=_('A container contains multiple projects.'),
        content=[],
        image='',
        settings_model=None,
    )
예제 #2
0
from apps.debate import phases as debate_phases
from apps.documents import phases as documents_phases
from apps.ideas import phases as ideas_phases
from apps.mapideas import phases as mapideas_phases
from apps.polls import phases as poll_phases
from apps.questions import phases as question_phases
from apps.topicprio import phases as topicprio_phases

blueprints = [
    ('brainstorming',
     ProjectBlueprint(
         title=_('Brainstorming'),
         description=_(
             'Participants can submit their own ideas and discuss the '
             'ideas of others.'
         ),
         content=[
             ideas_phases.CollectPhase(),
         ],
         image='images/brainstorming.svg',
         settings_model=None,
     )),
    ('map-brainstorming',
     ProjectBlueprint(
         title=_('Spatial Brainstorming'),
         description=_(
             'Participants can submit their own ideas and locate them on a '
             'map. They can also discuss the ideas of others.'
         ),
         content=[
             mapideas_phases.CollectPhase(),
         ],
예제 #3
0
from django.utils.translation import ugettext_lazy as _

from adhocracy4.dashboard.blueprints import ProjectBlueprint
{% if cookiecutter.add_polls_app == 'y' %}from adhocracy4.polls import phases as poll_phases{% endif %}
{% if cookiecutter.add_documents_app == 'y' %}from apps.documents import phases as documents_phases{% endif %}
from apps.ideas import phases as ideas_phases
{% if cookiecutter.add_maps_and_mapideas_app == 'y' %}from apps.mapideas import phases as map_ideas_phases{% endif %}

blueprints = [
    ('brainstorming',
     ProjectBlueprint(
         title=_('Brainstorming'),
         description=_(
             'Collect first ideas for a specific topic and comment on them.'
         ),
         content=[
             ideas_phases.CollectPhase(),
         ],
         image='images/brainstorming.svg',
         settings_model=None,
     )),
{% if cookiecutter.add_documents_app == 'y' %}    ('text-review',
     ProjectBlueprint(
         title=_('Text Review'),
         description=_(
             'In the text-review it’s possible to structure draft texts '
             'that can be commented.'
         ),
         content=[
             documents_phases.CommentPhase(),
         ],
예제 #4
0
from django.utils.translation import ugettext_lazy as _

from adhocracy4.dashboard.blueprints import ProjectBlueprint
from tests.apps.questions import phases as question_phases

blueprints = [
    ('questions',
     ProjectBlueprint(
         title='Questions',
         description=_(
             'Collect questions questions first and rate them afterwards.'
         ),
         content=[
             question_phases.AskPhase(),
             question_phases.RatePhase(),
         ],
         image='images/questions.svg',
         settings_model=None,
     )),

]
예제 #5
0
from meinberlin.apps.documents import phases as documents_phases
from meinberlin.apps.extprojects import phases as extprojects_phases
from meinberlin.apps.ideas import phases as ideas_phases
from meinberlin.apps.kiezkasse import phases as kiezkasse_phases
from meinberlin.apps.mapideas import phases as mapideas_phases
from meinberlin.apps.maptopicprio import phases as maptopicprio_phases
from meinberlin.apps.polls import phases as poll_phases
from meinberlin.apps.topicprio import phases as topicprio_phases

blueprints = [
    ('brainstorming',
     ProjectBlueprint(
         title=_('Brainstorming'),
         description=_(
             'Collect first ideas for a specific topic and comment on them.'),
         content=[
             ideas_phases.CollectPhase(),
         ],
         image='images/brainstorming.svg',
         settings_model=None,
     )),
    ('map-brainstorming',
     ProjectBlueprint(
         title=_('Spatial Brainstorming'),
         description=_(
             'Collect location specific ideas for a topic and comment on them.'
         ),
         content=[
             mapideas_phases.CollectPhase(),
         ],
         image='images/map-brainstorming.svg',
         settings_model=('a4maps', 'AreaSettings'),
예제 #6
0
from adhocracy4.dashboard.blueprints import ProjectBlueprint
from apps.activities import phases as activities_phases
from apps.budgeting import phases as budgeting_phases
from apps.documents import phases as documents_phases
from apps.ideas import phases as ideas_phases
from apps.mapideas import phases as mapideas_phases
from apps.polls import phases as poll_phases
from apps.questions import phases as question_phases

blueprints = [
    ('brainstorming',
     ProjectBlueprint(
         title=_('Brainstorming'),
         description=_('Collect ideas and let participants comment on them.'),
         content=[
             ideas_phases.CollectPhase(),
         ],
         image='images/brainstorming.svg',
         settings_model=None,
     )),
    ('map-brainstorming',
     ProjectBlueprint(
         title=_('Spatial Brainstorming'),
         description=_(
             'Collect ideas associated with a location within a pre-defined '
             'area on a map.'),
         content=[
             mapideas_phases.CollectPhase(),
         ],
         image='images/map-brainstorming.svg',
         settings_model=('a4maps', 'AreaSettings'),
예제 #7
0
from django.utils.translation import ugettext_lazy as _

from adhocracy4.dashboard.blueprints import ProjectBlueprint
from apps.questions import phases as question_phases

blueprints = [
    ('speakup',
     ProjectBlueprint(
         title=_('Speak Up'),
         description=_('Collect questions for your discussion.'),
         content=[
             question_phases.IssuePhase(),
         ],
         image='images/brainstorming.svg',
         settings_model=None,
     )),
]