impl. todos or move to Project.md

This commit is contained in:
Dennis Eichhorn 2021-09-27 23:14:00 +02:00
parent ed51f52244
commit 27de43205b
4 changed files with 1 additions and 108 deletions

View File

@ -32,66 +32,5 @@
},
"parent": 0,
"children": []
},
{
"id": 1006902001,
"pid": "/",
"type": 2,
"subtype": 0,
"name": "Legal",
"uri": null,
"target": "self",
"icon": "fa fa-gavel",
"order": 999999,
"from": "Home",
"permission": { "permission": 2, "type": null, "element": null },
"parent": 0,
"children": [
{
"id": 1006902002,
"pid": "/",
"type": 2,
"subtype": 1,
"name": "PrivacyPolicy",
"uri": "{/prefix}legal/privacy",
"target": "self",
"icon": null,
"order": 1,
"from": "Home",
"permission": { "permission": 2, "type": null, "element": null },
"parent": 1006902001,
"children": []
},
{
"id": 1006902003,
"pid": "/",
"type": 2,
"subtype": 1,
"name": "Terms",
"uri": "{/prefix}legal/terms",
"target": "self",
"icon": null,
"order": 1,
"from": "Home",
"permission": { "permission": 2, "type": null, "element": null },
"parent": 1006902001,
"children": []
},
{
"id": 1006902004,
"pid": "/",
"type": 2,
"subtype": 1,
"name": "Imprint",
"uri": "{/prefix}legal/imprint",
"target": "self",
"icon": null,
"order": 10,
"from": "Home",
"permission": { "permission": 2, "type": null, "element": null },
"parent": 1006902001,
"children": []
}
]
}
]

View File

@ -17,39 +17,4 @@ use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb;
return [
'^.*/legal/privacy.*$' => [
[
'dest' => '\Modules\Home\Controller\BackendController:viewLegalDocuments',
'verb' => RouteVerb::GET,
'permission' => [
'module' => BackendController::MODULE_NAME,
'type' => PermissionType::READ,
'state' => null,
],
],
],
'^.*/legal/terms.*$' => [
[
'dest' => '\Modules\Home\Controller\BackendController:viewLegalDocuments',
'verb' => RouteVerb::GET,
'permission' => [
'module' => BackendController::MODULE_NAME,
'type' => PermissionType::READ,
'state' => null,
],
],
],
'^.*/legal/imprint.*$' => [
[
'dest' => '\Modules\Home\Controller\BackendController:viewLegalDocuments',
'verb' => RouteVerb::GET,
'permission' => [
'module' => BackendController::MODULE_NAME,
'type' => PermissionType::READ,
'state' => null,
],
],
],
];

View File

@ -12,14 +12,7 @@ If you have a good idea for improvement feel free to create a new issue with all
### Issues
Feel free to grab any open issue implement it and create a new pull request. Most issues can be found in the code and have the following structure:
```php
/**
* @todo Orange-Management/Orange-Management#ISSUE_NUMBER [d:difficulty]
* Description for the issue
*/
```
Feel free to grab any open issue implement it and create a new pull request. Most issues can be found in the `Project.md` file in the `Docs` repository.
The issue information can be used to provide additional information such as priority, difficulty and type. For your first issue try to find a issue marked `[d:first]` or `[d:beginner]`.

View File

@ -14,9 +14,5 @@ declare(strict_types=1);
return ['Navigation' => [
'Home' => 'Home',
'Imprint' => 'Imprint',
'Legal' => 'Legal',
'Logout' => 'Logout',
'PrivacyPolicy' => 'Privacy Policy',
'Terms' => 'Terms of Use',
]];