Skip to content

Commit 74a93f0

Browse files
committed
Merge branch 'devel'
2 parents 8a3dddd + b4ae2a2 commit 74a93f0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,12 @@ $ php vendor/bin/phpunit
185185
```
186186

187187
Open your browser with address: [localhost:8000](localhost:8000)
188-
Click "Notes" on topbar menu and log in with credentials:
188+
Click "Login" on sidebar menu and log in with credentials:
189189

190190
* E-mail: _[email protected]_
191191
* Password: _password_
192192

193193
This user has roles: _user_ and _admin_
194-
* Role _user_ is required for **notes** management.
195-
* Role _admin_ is required for **users** management.
196194

197195
---
198196

@@ -210,7 +208,7 @@ $id = $this->insertLink( $rolesString, $visibleName, $href, $iconString);
210208
* `$rolesString` - a string with list of user roles this menu element will be available, ex. `"guest,user,admin"`
211209
* `$visibleName` - a string caption visible in sidebar
212210
* `$href` - a href, ex. `/homepage` or `http://example.com`
213-
* `$iconString` - a string containing valid CoreUI Icon name (kebab-case), ex. `cui-speedometer` or `cui-star`
211+
* `$iconString` - a string containing valid CoreUI Icon name (kebab-case), ex. `cil-speedometer` or `cil-pencil`
214212

215213
To add a __title__ to the sidebar - use function `insertTitle()`:
216214
```php
@@ -226,14 +224,14 @@ $id = $this->beginDropdown( $rolesString, $visibleName, $href, $iconString);
226224
* `$rolesString` - a string with list of user roles this menu element will be available, ex. `"guest,user,admin"`
227225
* `$visibleName` - a string caption visible in sidebar
228226
* `$href` - a href, ex. `/homepage` or `http://example.com`
229-
* `$iconString` - a string containing valid CoreUI icon name (kebab-case). For example: `cui-speedometer` or `cui-star`
227+
* `$iconString` - a string containing valid CoreUI icon name (kebab-case). For example: `cil-speedometer` or `cil-pencil`
230228

231229
To end dropdown section - use function `endDropdown()`.
232230

233231
To add __link__ to __dropdown__ call function `insertLink()` between function calls `beginDropdown()` and `endDropdown()`.
234232
Example:
235233
```php
236-
$id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'http://example.com', 'cui-puzzle');
234+
$id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'http://example.com', 'cil-puzzle');
237235
$id = $this->insertLink('guest,user,admin', 'Dropdown name', 'http://example.com');
238236
$this->endDropdown();
239237
```

0 commit comments

Comments
 (0)