@@ -38,20 +38,22 @@ class GoogleCalendarBlock(XBlock):
...
@@ -38,20 +38,22 @@ class GoogleCalendarBlock(XBlock):
default="Example Google Calendar"
default="Example Google Calendar"
)
)
embed_code=String(
calendar_id=String(
display_name="Embed Code",
display_name="Public Calendar ID",
help="Google provides an embed code for Drive calendars with a variety of settings. From inside a Google Drive calendar, select Publish to the Web from within the File menu to get to your Embed Code with your desired settings.",
help="This is the Calendar ID for the publically available Google calendar you would like to embed. To find this ID, go to your Calendar Settings and copy the ID found in the Calendar Address section.",
<spanclass="tip setting-help">{% trans "This is the Calendar ID for the publically available Google calendar you would like to embed. To find this ID, go to your Calendar Settings and copy the ID found in the Calendar Address section. You can also " %}
<ahref="https://support.google.com/calendar/answer/34578?ctx=tltp"target="_blank">learn more here</a>.
</span>
</li>
<liclass="field comp-setting-entry is-set">
<divclass="wrapper-comp-setting">
<labelclass="label setting-label"for="edit_default_view">{% trans "Default View" %}</label>
<spanclass="tip setting-help">{% trans "Google provides an embed code for Drive documents with a variety of settings. From inside a Google Drive document, select Publish to the Web from within the File menu to get to your Embed Code with your desired settings." %}</span>
<spanclass="tip setting-help">{% trans "Google provides an embed code for Drive documents with a variety of settings. From inside a Google Drive document, select Publish to the Web from within the File menu to get to your Embed Code with your desired settings." %}</span>