Skip to content
Merged
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
26 changes: 19 additions & 7 deletions source/instructors/admin/organization/add-teachers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,17 @@ After setting up your organization, you can add teachers to give them access to
:alt: Members


4. Click the **Add Member** button, enter in the **Teacher Email** and in the **invite as** section select **Teacher** from the drop down.
+-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
| 4. Click the **Add Member** button, enter in the **Teacher Email** | |
| and in the **invite as** section select **Teacher** from the | |
| drop down. | |
| | .. image:: |
| | /img/manage_organization/ |
| | inviteteacher.png |
| | :alt: Invite Teacher |
+-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
Comment on lines +30 to +38
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Grid-table disrupts list flow & image directive likely unparsed

Placing the grid-table at the root indentation breaks the ordered-list context (step 4 will no longer be recognised).
Inside the table the .. image:: directive is treated as plain text unless indented two spaces relative to the cell, so the picture won’t render.

Convert this block into a properly indented sub-list or use a .. list-table:: directive, e.g.:

-+-----------------------------------------------------------------------+--------------------------------------------------+
-| 4. Click the **Add Member** …                                         | .. image:: /img/manage_organization/inviteteacher.png
-+-----------------------------------------------------------------------+--------------------------------------------------+
+4. Click the **Add Member** button, enter the **Teacher Email**, and choose **Teacher** in **Invite as**.
+
+   .. image:: /img/manage_organization/inviteteacher.png
+      :alt: Invite Teacher

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In source/instructors/admin/organization/add-teachers.rst around lines 30 to 38,
the grid-table breaks the ordered list flow and the image directive inside the
table is not indented properly, causing it to be treated as plain text. Replace
the grid-table with a properly indented sub-list or use a .. list-table::
directive, ensuring the image directive is indented two spaces relative to the
cell so it renders correctly and the ordered list numbering continues
uninterrupted.



.. image:: /img/manage_organization/inviteteacher.png
:alt: Invite Teacher


+-------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Expand All @@ -50,13 +57,18 @@ After setting up your organization, you can add teachers to give them access to
An email is sent to the teacher that contains a link to sign up. Upon completing the sign up process, they are added to your organization.


.. Note:: They must use the same email address to which the invitation was sent; otherwise, they will not be added to the organization.

This invitation is valid for 7 days. If it is not used within that time frame, it will expire, and the recipient will no longer be able to use it to join the organization. In such cases, you will need to resend the invitation. All pending invitations are displayed and you have the option to **Resend** or **Revoke** the invitation.

.. raw:: html


<div style= " margin: 0 0 10px 20px; padding: 10px; background: #f0f0f0; border: 3px solid #00ece5;">
<strong>Note:</strong> They must use the same email address to which the invitation was sent; otherwise, they will not be added to the organization. This invitation is valid for 7 days. If it is not used within that time frame, it will expire, and the recipient will no longer be able to use it to join the organization. In such cases, you will need to resend the invitation. All pending invitations are displayed and you have the option to <strong>Resend</strong> or <strong>Revoke</strong> the invitation.

</div>

.. Note:: If you already have courses set up, you can add and invite teachers directly into your course(s). See :ref:`Add or Remove Teachers in a Course <add-teachers>`. You can then add them as an :ref:`organization owner <org-owners>` so they can then manage and create courses, and have full Admin access to the organization.
.. raw:: html


<div style= " margin: 0 0 10px 20px; padding: 10px; background: #f0f0f0; border: 3px solid #00ece5;">
<strong>Note:</strong> If you already have courses set up, you can add and invite teachers directly into your course(s). See <a href="https://docs.codio.com/instructors/setupcourses/add-teachers.html#add-teachers" target="_blank">Add or Remove Teachers in a Course</a>. You can then add them as an <a href="https://docs.codio.com/instructors/admin/organization/add-remove-org-owners.html#org-owners" target="_blank">organization owner</a> so they can then manage and create courses, and have full Admin access to the organization.
</div>