-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maillog-ui juno view added as tab to email-service (#1384)
- Loading branch information
1 parent
ee789bc
commit 62a4bcb
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
plugins/email_service/app/controllers/email_service/maillog_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module EmailService | ||
class MaillogController < ::EmailService::ApplicationController | ||
authorization_context 'email_service' | ||
authorization_required | ||
|
||
def index | ||
|
||
end | ||
end | ||
end |
19 changes: 19 additions & 0 deletions
19
plugins/email_service/app/views/email_service/maillog/index.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
=content_for :main_toolbar do | ||
Email Service - AWS SES (Cronus) | ||
= render partial: 'email_service/shared/nav', formats: :html, locals: {pane: 'maillog'} | ||
|
||
.tab-content | ||
.tab-pane.active{role:"tabpanel", id:"maillog-pane"} | ||
:plain | ||
<script | ||
defer | ||
src="https://assets.juno.#{qa? ? 'qa-de-1' : 'global'}.cloud.sap/apps/widget-loader@latest/build/app.js" | ||
data-name="maillog" | ||
data-version="latest" | ||
data-props-get-token-func-name="_getCurrentToken" | ||
data-props-theme="theme-light" | ||
data-props-endpoint="https://maillog.#{current_region}.cloud.sap" | ||
data-props-embedded="true" | ||
data-props-project="#{@scoped_project_id}"> | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters