-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1295 from appknox/PD-965-upload-app-notifications
added notifications for upload via link
- Loading branch information
Showing
68 changed files
with
2,354 additions
and
470 deletions.
There are no files selected for viewing
26 changes: 0 additions & 26 deletions
26
app/components/notifications-page/messages/nf-nsreqstd1/approved.hbs
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
app/components/notifications-page/messages/nf-nsreqstd1/approved.scss
This file was deleted.
Oops, something went wrong.
26 changes: 10 additions & 16 deletions
26
app/components/notifications-page/messages/nf-nsreqstd1/index.hbs
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 |
---|---|---|
@@ -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 | ||
}} | ||
/> |
6 changes: 0 additions & 6 deletions
6
app/components/notifications-page/messages/nf-nsreqstd1/index.scss
This file was deleted.
Oops, something went wrong.
109 changes: 0 additions & 109 deletions
109
app/components/notifications-page/messages/nf-nsreqstd1/index.ts
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
app/components/notifications-page/messages/nf-nsreqstd1/rejected.hbs
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
app/components/notifications-page/messages/nf-nsreqstd1/rejected.scss
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
app/components/notifications-page/messages/nf-nsreqstd1/unmoderated.hbs
This file was deleted.
Oops, something went wrong.
Empty file.
30 changes: 0 additions & 30 deletions
30
app/components/notifications-page/messages/nf-nsreqstd2/approved.hbs
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
app/components/notifications-page/messages/nf-nsreqstd2/approved.scss
This file was deleted.
Oops, something went wrong.
30 changes: 14 additions & 16 deletions
30
app/components/notifications-page/messages/nf-nsreqstd2/index.hbs
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 |
---|---|---|
@@ -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' | ||
) | ||
}} | ||
/> |
6 changes: 0 additions & 6 deletions
6
app/components/notifications-page/messages/nf-nsreqstd2/index.scss
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
app/components/notifications-page/messages/nf-nsreqstd2/rejected.hbs
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
app/components/notifications-page/messages/nf-nsreqstd2/rejected.scss
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
app/components/notifications-page/messages/nf-nsreqstd2/unmoderated.hbs
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.