diff --git a/bbb_django/bbb/locale/zh_CN/LC_MESSAGES/django.mo b/bbb_django/bbb/locale/zh_CN/LC_MESSAGES/django.mo index feea84a..e5812f2 100644 Binary files a/bbb_django/bbb/locale/zh_CN/LC_MESSAGES/django.mo and b/bbb_django/bbb/locale/zh_CN/LC_MESSAGES/django.mo differ diff --git a/bbb_django/bbb/locale/zh_CN/LC_MESSAGES/django.po b/bbb_django/bbb/locale/zh_CN/LC_MESSAGES/django.po index 5b7be78..8fc43f2 100644 --- a/bbb_django/bbb/locale/zh_CN/LC_MESSAGES/django.po +++ b/bbb_django/bbb/locale/zh_CN/LC_MESSAGES/django.po @@ -228,6 +228,9 @@ msgstr "会议管理站点" msgid "Django bbb administration" msgstr "会议管理" +msgid "Administration" +msgstr "后台管理" + #: templates/admin/change_list.html:64 #, python-format msgid "Add %(name)s" diff --git a/bbb_django/bbb/models.py b/bbb_django/bbb/models.py index 0bfd1e6..46e47c6 100755 --- a/bbb_django/bbb/models.py +++ b/bbb_django/bbb/models.py @@ -41,7 +41,7 @@ class Meeting(models.Model): name = models.CharField(max_length=100, verbose_name=_('meeting name')) attendee_password = models.CharField(max_length=50, verbose_name=_('attendee password')) moderator_password = models.CharField(max_length=50, verbose_name=_('moderator password')) - welcome = models.CharField(max_length=100, blank=True, verbose_name=_('welcome message')) + #welcome = models.CharField(max_length=100, blank=True, verbose_name=_('welcome message')) record = models.BooleanField(default=False, verbose_name=_('record')) duration = models.IntegerField(default=0, choices=MEETING_DURATION, verbose_name=_('duration')) start_time = models.DateTimeField(verbose_name=_('start time')) @@ -231,8 +231,8 @@ def start(self): ('attendeePW', self.attendee_password), ('moderatorPW', self.moderator_password), ('voiceBridge', voicebridge), - #('welcome', _("Welcome!").encode('utf8')), - ('welcome', self.welcome.encode('utf8')), + #('welcome', self.welcome.encode('utf8')), + ('welcome', self.agenda.encode('utf8')), ('record', self.record), #('duration', self.duration), )) @@ -263,7 +263,7 @@ class CreateForm(forms.Form): widget=forms.PasswordInput(render_value=False)) moderator_password = forms.CharField(label=_('moderator password'), widget=forms.PasswordInput(render_value=False)) - welcome = forms.CharField(label=_('welcome message'), initial=_('Welcome!')) + #welcome = forms.CharField(label=_('welcome message'), initial=_('Welcome!')) record = forms.BooleanField(label=_('record'), initial=False, required=False) duration = forms.ChoiceField(label=_('duration'), choices=MEETING_DURATION) start_time = forms.DateTimeField(label=_('start time'), widget=widgets.AdminSplitDateTime()) diff --git a/bbb_django/bbb/templates/base.html b/bbb_django/bbb/templates/base.html index 83fc81d..c4766f1 100644 --- a/bbb_django/bbb/templates/base.html +++ b/bbb_django/bbb/templates/base.html @@ -83,8 +83,8 @@ text-indent: -9999px; display: block; background: url(/static/img/logo.png) no-repeat top left; - height: 48px; - width: 194px; + height: 50px; + width: 340px; margin: 0 auto; margin-bottom: 10px; } @@ -234,6 +234,9 @@

BBB Django

{% else %}
  • {% trans "Log in" %}
  • {% endif %} + {% if user.is_superuser %} +
  • {% trans "Administration" %}
  • + {% endif %} diff --git a/bbb_django/bbb/templates/calendar.html b/bbb_django/bbb/templates/calendar.html index 6d043a4..4f1d23c 100644 --- a/bbb_django/bbb/templates/calendar.html +++ b/bbb_django/bbb/templates/calendar.html @@ -15,13 +15,17 @@

    {% trans "Calendar" %}

    << {{PreviousYear}}/{{PreviousMonth}} + {% trans "Today" %} + {{NextYear}}/{{NextMonth}} >> diff --git a/bbb_django/bbb/templates/meetings.html b/bbb_django/bbb/templates/meetings.html index 142a6b6..90746b6 100644 --- a/bbb_django/bbb/templates/meetings.html +++ b/bbb_django/bbb/templates/meetings.html @@ -10,7 +10,7 @@

    {% trans "Meetings" %}

    {% if meetings %}