- Add announcements view using JSX to the dashboard sidebar - Create a new maintenance interface to edit and manage announcements - Adds an override to main.html template to include new skip links - Add plugins required for announcements to TinyMCE This is motivated by a desire to have system wide messages for students that show on the dashboard. Enabled with FEATURES['ENABLE_ANNOUNCEMENTS']. Global staff are allowed to edit from the studio maintenance view.
17 lines
331 B
Python
17 lines
331 B
Python
"""
|
|
Defines URLs for announcements in the LMS.
|
|
"""
|
|
|
|
from django.conf.urls import url
|
|
from django.contrib.auth.decorators import login_required
|
|
|
|
from .views import AnnouncementsJSONView
|
|
|
|
urlpatterns = [
|
|
url(
|
|
r'^page/(?P<page>\d+)$',
|
|
login_required(AnnouncementsJSONView.as_view()),
|
|
name='page',
|
|
),
|
|
]
|