1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-01-17 05:33:35 +00:00

Add address endpoints to the routes UI (#71)

هذا الالتزام موجود في:
Alex Bouma
2017-05-02 14:06:46 +02:00
ملتزم من قبل Adam Cooke
الأصل 73cca62b93
التزام 594cff74a9

عرض الملف

@@ -12,12 +12,13 @@
%p.noData__text %p.noData__text
To receive incoming mail, you need to add routes so where we should send To receive incoming mail, you need to add routes so where we should send
messages we receive for your domain. You can send incoming e-mail to messages we receive for your domain. You can send incoming e-mail to
HTTP endpoints or other SMTP servers. HTTP endpoints, other SMTP servers or e-mail addresses.
- if @server.smtp_endpoints.empty? && @server.http_endpoints.empty? - if @server.smtp_endpoints.empty? && @server.http_endpoints.empty? && @server.address_endpoints.empty?
%p.noData__button.buttonSet.buttonSet--center %p.noData__button.buttonSet.buttonSet--center
= link_to "Add a HTTP endpoint", new_organization_server_http_endpoint_path(organization, @server, :return_to => new_organization_server_route_path(organization, @server), :return_notice => "You can now go ahead and add your first route for this HTTP endpoint"), :class => 'button button--positive' = link_to "Add a HTTP endpoint", new_organization_server_http_endpoint_path(organization, @server, :return_to => new_organization_server_route_path(organization, @server), :return_notice => "You can now go ahead and add your first route for this HTTP endpoint"), :class => 'button button--positive'
= link_to "Add a SMTP endpoint", new_organization_server_smtp_endpoint_path(organization, @server, :return_to => new_organization_server_route_path(organization, @server), :return_notice => "You can now go ahead and add your first route for this SMTP endpoint"), :class => 'button button--positive' = link_to "Add a SMTP endpoint", new_organization_server_smtp_endpoint_path(organization, @server, :return_to => new_organization_server_route_path(organization, @server), :return_notice => "You can now go ahead and add your first route for this SMTP endpoint"), :class => 'button button--positive'
= link_to "Add an address endpoint", new_organization_server_address_endpoint_path(organization, @server, :return_to => new_organization_server_route_path(organization, @server), :return_notice => "You can now go ahead and add your first route for this address endpoint"), :class => 'button button--positive'
%p.noData__postButtonText %p.noData__postButtonText
Once you've added these, you'll be able to come back here to route a Once you've added these, you'll be able to come back here to route a
specific e-mail address to your newly created endpoint. You can specific e-mail address to your newly created endpoint. You can
@@ -28,7 +29,7 @@
- else - else
%p.pageContent__intro.u-margin %p.pageContent__intro.u-margin
Routes control where incoming mail for your domain is sent. Messages can be sent to Routes control where incoming mail for your domain is sent. Messages can be sent to
HTTP endpoints or other SMTP servers. HTTP endpoints, other SMTP servers or e-mail addresses.
%p.u-margin.pageContent__helpLink= link_to "Read more about receiving e-mails", [organization, @server, :help_incoming] %p.u-margin.pageContent__helpLink= link_to "Read more about receiving e-mails", [organization, @server, :help_incoming]
%ul.routeList.u-margin %ul.routeList.u-margin