Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions google_drive/google_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ class GoogleCalendarBlock(XBlock):
display_name="Display Name",
help="This name appears in the horizontal navigation at the top of the page.",
scope=Scope.settings,
default="Example Google Calendar"
default="Google Calendar"
)

calendar_id = String(
display_name="Public Calendar ID",
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.",
help="Google provides an ID for publicly available calendars. In the Google Calendar, open Settings and copy the ID from the Calendar Address section into this field.",
scope=Scope.settings,
default="edx.org_vme83q0j2v52mbhjncvfd5uqs8@group.calendar.google.com"
)

# 0=Week, 1=Month, 2=Agenda
default_view = Integer(
display_name="Default View",
help="The view of the calendar initially presented to students.",
help="The calendar view that students see by default. A student can change this view.",
scope=Scope.settings,
default=1
)
Expand Down
2 changes: 1 addition & 1 deletion google_drive/google_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class GoogleDocumentBlock(XBlock):

embed_code = String(
display_name="Embed Code",
help="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.",
help="Google provides an embed code for Drive documents. In the Google Drive document, from the File menu, select Publish to the Web. Modify settings as needed, click Publish, and copy the embed code into this field.",
scope=Scope.settings,
default=textwrap.dedent("""
<iframe
Expand Down
4 changes: 2 additions & 2 deletions google_drive/templates/html/google_calendar_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{ self.calendar_id }}
</textarea>
</div>
<span class="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 " %}
<span class="tip setting-help">{% trans "Google provides an ID for publicly available calendars. In the Google Calendar, open Settings and copy the ID from the Calendar Address section into this field. You can " %}
<a href="https://support.google.com/calendar/answer/34578?ctx=tltp" target="_blank">learn more here</a>.
</span>
</li>
Expand All @@ -32,7 +32,7 @@
{% endfor %}
</select>
</div>
<span class="tip setting-help">{% trans "The view of the calendar initially presented to students." %}</span>
<span class="tip setting-help">{% trans "The calendar view that students see by default. A student can change this view." %}</span>
</li>
<li class="field comp-setting-entry is-set"></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion google_drive/templates/html/google_docs_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{ self.embed_code }}
</textarea>
</div>
<span class="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>
<span class="tip setting-help">{% trans "Google provides an embed code for Drive documents. In the Google Drive document, from the File menu, select Publish to the Web. Modify settings as needed, click Publish, and copy the embed code into this field." %}</span>
</li>
<li class="field comp-setting-entry is-set"></li>
</ul>
Expand Down