(
self)
| 711 | @identity.require( |
| 712 | identity.in_group("admin")) |
| 713 | def adminConsole( |
| 714 | self): |
| 715 | |
| 716 | commands = [ |
| 717 | { |
| 718 | 'name': 'Users', |
| 719 | 'link': '/server/adminUser', |
| 720 | 'description': 'List users.', |
| 721 | }, |
| 722 | { |
| 723 | 'name': 'Cities', |
| 724 | 'link': '/server/adminCity', |
| 725 | 'description': 'List cities.', |
| 726 | }, |
| 727 | { |
| 728 | 'name': 'Products', |
| 729 | 'link': '/server/adminProduct', |
| 730 | 'description': 'List products.', |
| 731 | }, |
| 732 | { |
| 733 | 'name': 'Orders', |
| 734 | 'link': '/server/adminOrder', |
| 735 | 'description': 'List orders.', |
| 736 | }, |
| 737 | { |
| 738 | 'name': 'Facebook Payments', |
| 739 | 'link': '/server/adminFacebookPayment', |
| 740 | 'description': 'List facebook payments.', |
| 741 | }, |
| 742 | { |
| 743 | 'name': 'Translations', |
| 744 | 'link': '/server/translations', |
| 745 | 'description': 'Edit translations.', |
| 746 | }, |
| 747 | ] |
| 748 | |
| 749 | return { |
| 750 | 'commands': commands, |
| 751 | } |
| 752 | |
| 753 | |
| 754 | ######################################################################## |
nothing calls this directly
no outgoing calls
no test coverage detected