TF-527 Add presentation layer in add new identity
This commit is contained in:
@@ -1179,6 +1179,54 @@ class AppLocalizations {
|
||||
name: 'new_identity');
|
||||
}
|
||||
|
||||
String get name {
|
||||
return Intl.message(
|
||||
'Name',
|
||||
name: 'name');
|
||||
}
|
||||
|
||||
String get reply_to_address {
|
||||
return Intl.message(
|
||||
'Reply to address',
|
||||
name: 'reply_to_address');
|
||||
}
|
||||
|
||||
String get bcc_to_address {
|
||||
return Intl.message(
|
||||
'Bcc to address',
|
||||
name: 'bcc_to_address');
|
||||
}
|
||||
|
||||
String get signature {
|
||||
return Intl.message(
|
||||
'Signature',
|
||||
name: 'signature');
|
||||
}
|
||||
|
||||
String get plain_text {
|
||||
return Intl.message(
|
||||
'Plain text',
|
||||
name: 'plain_text');
|
||||
}
|
||||
|
||||
String get html_template {
|
||||
return Intl.message(
|
||||
'Html template',
|
||||
name: 'html_template');
|
||||
}
|
||||
|
||||
String get create {
|
||||
return Intl.message(
|
||||
'Create',
|
||||
name: 'create');
|
||||
}
|
||||
|
||||
String get you_have_created_a_new_identity {
|
||||
return Intl.message(
|
||||
'You have created a new identity',
|
||||
name: 'you_have_created_a_new_identity');
|
||||
}
|
||||
|
||||
String get delete_identity {
|
||||
return Intl.message('Delete identity',
|
||||
name: 'delete_identity');
|
||||
|
||||
@@ -7,10 +7,12 @@ import 'package:tmail_ui_user/features/destination_picker/presentation/destinati
|
||||
import 'package:tmail_ui_user/features/email/presentation/email_view.dart' deferred as email;
|
||||
import 'package:tmail_ui_user/features/home/presentation/home_bindings.dart';
|
||||
import 'package:tmail_ui_user/features/home/presentation/home_view.dart';
|
||||
import 'package:tmail_ui_user/features/identity_creator/presentation/identity_creator_bindings.dart';
|
||||
import 'package:tmail_ui_user/features/login/presentation/login_bindings.dart';
|
||||
import 'package:tmail_ui_user/features/login/presentation/login_view.dart' deferred as login;
|
||||
import 'package:tmail_ui_user/features/mailbox_creator/presentation/mailbox_creator_bindings.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox_creator/presentation/mailbox_creator_view.dart' deferred as mailbox_creator;
|
||||
import 'package:tmail_ui_user/features/identity_creator/presentation/identity_creator_view.dart' deferred as identity_creator;
|
||||
import 'package:tmail_ui_user/features/mailbox_dashboard/presentation/mailbox_dashboard_bindings.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox_dashboard/presentation/mailbox_dashboard_view.dart'
|
||||
if (dart.library.html) 'package:tmail_ui_user/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart' deferred as mailbox_dashboard;
|
||||
@@ -61,5 +63,10 @@ class AppPages {
|
||||
name: AppRoutes.MANAGE_ACCOUNT,
|
||||
page: () => DeferredWidget(manage_account_dashboard.loadLibrary, () => manage_account_dashboard.ManageAccountDashBoardView()),
|
||||
binding: ManageAccountDashBoardBindings()),
|
||||
GetPage(
|
||||
name: AppRoutes.IDENTITY_CREATOR,
|
||||
opaque: false,
|
||||
page: () => DeferredWidget(identity_creator.loadLibrary, () => identity_creator.IdentityCreatorView()),
|
||||
binding: IdentityCreatorBindings()),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -10,4 +10,5 @@ abstract class AppRoutes {
|
||||
static const DESTINATION_PICKER = '/destinationPicker';
|
||||
static const MAILBOX_CREATOR = '/mailboxCreator';
|
||||
static const MANAGE_ACCOUNT = '$MAILBOX_DASHBOARD/manage_account';
|
||||
static const IDENTITY_CREATOR = '/identity_creator';
|
||||
}
|
||||
Reference in New Issue
Block a user