mirror of
https://github.com/Karaka-Management/oms-Home.git
synced 2026-01-11 12:28:40 +00:00
impl. todos or move to Project.md
This commit is contained in:
parent
ed51f52244
commit
27de43205b
|
|
@ -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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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]`.
|
||||
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
]];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user