-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up log and commented out code More console statements removed Add language and icons to modal
- Loading branch information
1 parent
bb63a37
commit 168b5d4
Showing
8 changed files
with
74 additions
and
20 deletions.
There are no files selected for viewing
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
4 changes: 4 additions & 0 deletions
4
client/app/components/subscription-update-confirmation-modal.js
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,4 @@ | ||
import Component from '@ember/component'; | ||
|
||
export default class SubscriptionUpdateConfirmationModalComponent extends Component { | ||
} |
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
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
26 changes: 26 additions & 0 deletions
26
client/app/templates/components/subscription-update-confirmation-modal.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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{{#if this.showSubscriptionUpdateConfirmationModal}} | ||
<div class="reveal-overlay" style="display:block; background-color: rgba(241, 242, 244, 0.45)"> | ||
<div class="reveal-overlay-target"></div> | ||
<div class="reveal info-modal" role="dialog" aria-hidden="false" tabindex="-1" style="display:block;" | ||
data-test-info-modal> | ||
<div class="subscription-update-confirmation-modal"> | ||
{{#if (eq this.updateStatus "success")}} | ||
<div><span>{{fa-icon icon='check-circle' prefix='far' size='2x'}}</span></div> | ||
<div>Your subscription settings have been updated. | ||
<p>The changes will be reflected in the system in a few minutes.</p> | ||
</div> | ||
{{else if (eq this.updateStatus "error")}} | ||
<div> | ||
<span class="frown">{{fa-icon icon='frown' prefix='far' size='2x'}}</span> | ||
</div> | ||
<div> <p> There was an error with your submission. Please try again in a few minutes.</p> | ||
</div> | ||
{{/if}} | ||
</div> | ||
|
||
<div class="home-button"> | ||
<LinkTo class="button primary align-middle" @route="show-geography">Home</LinkTo> | ||
</div> | ||
</div> | ||
</div> | ||
{{/if}} |
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