Skip to content

Commit

Permalink
Merge pull request #1295 from appknox/PD-965-upload-app-notifications
Browse files Browse the repository at this point in the history
added notifications for upload via link
  • Loading branch information
cosmosgenius authored Nov 21, 2023
2 parents cefdce5 + 8702d03 commit 7c83045
Show file tree
Hide file tree
Showing 68 changed files with 2,354 additions and 470 deletions.

This file was deleted.

This file was deleted.

26 changes: 10 additions & 16 deletions app/components/notifications-page/messages/nf-nsreqstd1/index.hbs
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
<div {{did-insert (perform this.fetch)}}>
{{#if this.isApproved}}
<NotificationsPage::Messages::NfNsreqstd1::Approved
@context={{@context}}
@moderaterName={{this.namespaceModeratorDisplay}}
/>
{{else if this.isRejected}}
<NotificationsPage::Messages::NfNsreqstd1::Rejected @context={{@context}} />
{{else}}
<NotificationsPage::Messages::NfNsreqstd1::Unmoderated
@context={{@context}}
@onApprove={{perform this.approveNamespace}}
@onReject={{perform this.rejectNamespace}}
/>
{{/if}}
</div>
<NotificationsPage::NamespaceMessage
@context={{@context}}
@primaryMessage={{t
'notificationModule.messages.nf-nsreqstd1'
htmlSafe=true
requester_username=@context.requester_username
platform_display=@context.platform_display
namespace_value=@context.namespace_value
}}
/>

This file was deleted.

109 changes: 0 additions & 109 deletions app/components/notifications-page/messages/nf-nsreqstd1/index.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

30 changes: 14 additions & 16 deletions app/components/notifications-page/messages/nf-nsreqstd2/index.hbs
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<div {{did-insert (perform this.fetch)}}>
{{#if this.isApproved}}
<NotificationsPage::Messages::NfNsreqstd2::Approved
@context={{@context}}
@moderaterName={{this.namespaceModeratorDisplay}}
/>
{{else if this.isRejected}}
<NotificationsPage::Messages::NfNsreqstd2::Rejected @context={{@context}} />
{{else}}
<NotificationsPage::Messages::NfNsreqstd2::Unmoderated
@context={{@context}}
@onApprove={{perform this.approveNamespace}}
@onReject={{perform this.rejectNamespace}}
/>
{{/if}}
</div>
<NotificationsPage::NamespaceMessage
@context={{@context}}
@primaryMessage={{t
'notificationModule.messages.nf-nsreqstd2'
htmlSafe=true
current_requester_username=@context.current_requester_username
platform_display=@context.platform_display
namespace_value=@context.namespace_value
initial_requester_username=@context.initial_requester_username
namespace_created_on=(format-date
@context.namespace_created_on day='numeric' month='long' year='numeric'
)
}}
/>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.
Loading

0 comments on commit 7c83045

Please sign in to comment.