Consistent use of punctuation in lists

Signed-off-by: Bart Duisters <bartduisters@bartduisters.com>
This commit is contained in:
Bart Duisters 2020-02-02 14:38:51 +01:00 committed by Bart Duisters
parent 4a9536fea8
commit 3f62ac0998

View File

@ -46,31 +46,31 @@ Navigate to [**PLUGINS** - **Content Type Builder**](http://localhost:1337/admin
- Click the **"+ Add Content Type"** link - Click the **"+ Add Content Type"** link
- Enter `restaurant`, and click `Done` - Enter `restaurant`, and click `Done`
- A window opens with fields options: - A window opens with fields options:
- Click the **String** field - Click the **String** field.
- Type `name` in the **Name** field - Type `name` in the **Name** field.
- Click over to the **ADVANCED SETTINGS** tab, and check the `Required field` and the `Unique field` - Click over to the **ADVANCED SETTINGS** tab, and check the `Required field` and the `Unique field`.
- Click the **"+ Add New Field"** button - Click the **"+ Add New Field"** button.
- Click the **Rich Text** field - Click the **Rich Text** field.
- Type `description` under the **BASE SETTINGS** tab, in the **Name** field - Type `description` under the **BASE SETTINGS** tab, in the **Name** field.
- Click `Done` - Click `Done`.
- Click the **Save** button and wait for Strapi to restart - Click the **Save** button and wait for Strapi to restart.
## 4. Create a Category Content type ## 4. Create a Category Content type
Navigate back to [**PLUGINS** - **Content Type Builder**](http://localhost:1337/admin/plugins/content-type-builder), in the left-hand menu. Navigate back to [**PLUGINS** - **Content Type Builder**](http://localhost:1337/admin/plugins/content-type-builder), in the left-hand menu.
- Click the **"+ Add Content Type"** link - Click the **"+ Add Content Type"** link.
- Enter `category`, and click `Done` - Enter `category`, and click `Done`.
- A window opens with fields options: - A window opens with fields options:
- Click the **String** field - Click the **String** field.
- Type `name` under the **BASE SETTINGS** tab, in the **Name** field - Type `name` under the **BASE SETTINGS** tab, in the **Name** field.
- Click over to the **ADVANCED SETTINGS** tab, and check the `Required field` and the `Unique field` - Click over to the **ADVANCED SETTINGS** tab, and check the `Required field` and the `Unique field`.
- Click the **"+ Add New Field"** button - Click the **"+ Add New Field"** button.
- Click the **Relation** field - Click the **Relation** field.
- On the right side, click the **Permissions** dropdown and select, `Restaurant` - On the right side, click the **Permissions** dropdown and select `Restaurant`,
- In the center, select the icon that represents `many-to-many`. The text should read, `Categories has and belongs to many Restaurants` - In the center, select the icon that represents `many-to-many`. The text should read, `Categories has and belongs to many Restaurants`.
- Click `Done` - Click `Done`.
- Click the **Save** button and wait for Strapi to restart - Click the **Save** button and wait for Strapi to restart.
## 5. Add content to "Restaurant" Content Type ## 5. Add content to "Restaurant" Content Type
@ -85,7 +85,7 @@ You will see your restaurant listed in the entries.
Navigate to [**CONTENT TYPES** - **Categories**](http://localhost:1337/admin/plugins/content-manager/category?source=content-manager). Navigate to [**CONTENT TYPES** - **Categories**](http://localhost:1337/admin/plugins/content-manager/category?source=content-manager).
- Click on **+ Add New Category** button. Type `French Food` in the **Category** field. Select `Biscotte Restaurant`, on the right, from **Restaurant (0)** - Click on **+ Add New Category** button. Type `French Food` in the **Category** field. Select `Biscotte Restaurant`, on the right from **Restaurant (0)**.
- Click **Save**. - Click **Save**.
You will see the **French Food** category listed in the entries. You will see the **French Food** category listed in the entries.
@ -97,7 +97,7 @@ You will see the **Brunch** category listed in the entries.
Navigate back to [**CONTENT TYPES** - **Restaurants**](http://localhost:1337/admin/plugins/content-manager/restaurant?source=content-manager). Navigate back to [**CONTENT TYPES** - **Restaurants**](http://localhost:1337/admin/plugins/content-manager/restaurant?source=content-manager).
- Click on `Biscotte Restaurant` - Click on `Biscotte Restaurant`.
- On the right, under **Categories(1)**, `select` the `Add an item...`, and add **Brunch** as a category for this restaurant, and click the **Save** button. - On the right, under **Categories(1)**, `select` the `Add an item...`, and add **Brunch** as a category for this restaurant, and click the **Save** button.
You have now seen **two different ways** to use the **relation** field type to add and connect relations between Content Types. You have now seen **two different ways** to use the **relation** field type to add and connect relations between Content Types.