summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-10 09:42:30 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-10 09:42:30 +0200
commit1557b2ca6b60e4f29ce6b187ca4d6c806aa7cb9a (patch)
treece2639e453534ee440b72af9402314d9b176ecf9 /src/meetingtools
parenta003daecdcd26b2bd83aba860549341fd0bd0c9b (diff)
multiline text
Diffstat (limited to 'src/meetingtools')
-rw-r--r--src/meetingtools/apps/room/forms.py22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/meetingtools/apps/room/forms.py b/src/meetingtools/apps/room/forms.py
index 1906922..143551a 100644
--- a/src/meetingtools/apps/room/forms.py
+++ b/src/meetingtools/apps/room/forms.py
@@ -35,7 +35,10 @@ class ModifyRoomForm(BetterModelForm):
('properties',{'fields': ['self_cleaning','urlpath','source_sco_id'],
'classes': ['step'],
'legend': 'Step 2: Room properties',
- 'description': 'These are basic properties for your room. If you set your room to be self-cleaning it will be reset every time the last participant leaves the room.'}),
+ 'description': '''
+ These are basic properties for your room. If you set your room to be cleaned up after use it will
+ be reset every time the last participant leaves the room.'''
+ }),
]
widgets = {'source_sco_id': Select(),
'urlpath': PrefixTextInput(attrs={'size': '15'}),
@@ -45,6 +48,7 @@ class ModifyRoomForm(BetterModelForm):
class CreateRoomForm(BetterModelForm):
access = ChoiceField(choices=(('public','Public'),('private','Private')))
+
class Meta:
model = Room
fields = ['name','urlpath','access','self_cleaning']
@@ -56,7 +60,21 @@ class CreateRoomForm(BetterModelForm):
('properties',{'fields': ['self_cleaning','urlpath','access'],
'classes': ['step'],
'legend': 'Step 2: Room properties',
- 'description': 'These are basic properties for your room. If you set your room to clean-up after use it will be reset every time the last participant leaves the room. If you create a public room it will be open to anyone who has the room URL. If you create a private room then guests will have to be approved by an active meeting host before being able to join the room.'}),
+ 'description': '''
+ <p>These are basic properties for your room. If you set your room to cleaned up after
+ use it will be reset every time the last participant leaves the room. If you create a public room it
+ will be open to anyone who has the room URL. If you create a private room then guests will have to be
+ approved by an active meeting host before being able to join the room.</p>
+
+ <div class="ui-widget">
+ <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
+ <p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
+ <strong>Warning</strong> Setting a room to be cleaned up when empty will cause all existing content
+ associated with the to be destroyed each time the room is reset.</p>
+ </div>
+ </div>
+ '''
+ }),
]
widgets = {'access': RadioSelect(),
'urlpath': PrefixTextInput(attrs={'size': '15'}),