create resource and page for export

This commit is contained in:
Manuel Raynaud
2014-04-24 17:02:40 +02:00
parent 74e6ce1b46
commit 0deadcd247
7 changed files with 143 additions and 12 deletions

View File

@@ -49,15 +49,6 @@ INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES
SET @max := @max+1;
INSERT INTO `resource` (`id`, `code`, `created_at`, `updated_at`) VALUES
(@max, 'admin.export', NOW(), NOW());
INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES
(@max, 'en_US', 'Back-office export management'),
(@max, 'fr_FR', 'gestion des exports');
SET @max := @max+1;
INSERT INTO resource (`id`, `code`, `created_at`, `updated_at`) VALUES
(@max, 'admin.configuration.advanced', NOW(), NOW());
@@ -83,6 +74,25 @@ INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES
(@max, 'en_US', 'Tools panel'),
(@max, 'fr_FR', 'Outils');
SET @max := @max+1;
INSERT INTO `resource` (`id`, `code`, `created_at`, `updated_at`) VALUES
(@max, 'admin.export', NOW(), NOW());
INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES
(@max, 'en_US', 'Back-office export management'),
(@max, 'fr_FR', 'gestion des exports');
SET @max := @max+1;
INSERT INTO `resource` (`id`, `code`, `created_at`, `updated_at`) VALUES
(@max, 'admin.export.customer.newsletter', NOW(), NOW());
INSERT INTO resource_i18n (`id`, `locale`, `title`) VALUES
(@max, 'en_US', 'export of newsletter subscribers'),
(@max, 'fr_FR', 'export des inscrits à la newsletter');
SET FOREIGN_KEY_CHECKS = 1;