mirror of
https://github.com/Karaka-Management/oms-Home.git
synced 2026-02-14 20:08: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,
|
"parent": 0,
|
||||||
"children": []
|
"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;
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
return [
|
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
|
### 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:
|
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.
|
||||||
|
|
||||||
```php
|
|
||||||
/**
|
|
||||||
* @todo Orange-Management/Orange-Management#ISSUE_NUMBER [d:difficulty]
|
|
||||||
* Description for the issue
|
|
||||||
*/
|
|
||||||
```
|
|
||||||
|
|
||||||
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]`.
|
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' => [
|
return ['Navigation' => [
|
||||||
'Home' => 'Home',
|
'Home' => 'Home',
|
||||||
'Imprint' => 'Imprint',
|
|
||||||
'Legal' => 'Legal',
|
|
||||||
'Logout' => 'Logout',
|
'Logout' => 'Logout',
|
||||||
'PrivacyPolicy' => 'Privacy Policy',
|
|
||||||
'Terms' => 'Terms of Use',
|
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user