-
-
Notifications
You must be signed in to change notification settings - Fork 56
Service section design changes #474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
cde96d7
8586925
eb3085f
680b874
62bf774
a93891b
94d3e12
558b0f5
9b0b8be
4d8f211
707b5b3
84fd340
8aa34cd
eae119e
5fe7e4e
9f5d0ad
10b48e9
e6fbb44
5102608
909abd5
c362388
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -507,17 +507,43 @@ def expires(self): | |
|
|
||
| def get_suggestions(self): | ||
| if not self.support_subscriptions.exists(): | ||
| yield "basic", _("Basic support") | ||
| yield "basic", _( | ||
| "Basic support" | ||
| ), "This will give you more"\ | ||
| " of this and that. "\ | ||
| "You can't resist,"\ | ||
| "because it is a huge deal.",\ | ||
| "img/Support-Basic.svg", "Get more support" | ||
| if ( | ||
| not self.hosted_subscriptions.exists() | ||
| and not self.shared_subscriptions.exists() | ||
| ): | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems you've messed up the indentation fully here. Mixing tabs and spaces makes my Python reject loading the module completely.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, let me check it again. |
||
| if not self.premium_subscriptions.exists(): | ||
| yield "premium", _("Extended support") | ||
| yield "premium", _( | ||
| "Premium support" | ||
| ), "This will give you more "\ | ||
| "of this and that. " \ | ||
| "You can't resist,"\ | ||
| "because it is a huge deal.", \ | ||
| "img/Support-Plus.svg", "Get more support" | ||
| if not self.extended_subscriptions.exists(): | ||
| yield "extended", _("Extended support") | ||
| yield "extended", _( | ||
| "Extended support" | ||
| ), "This will give you " \ | ||
| "more of this and that. " \ | ||
| "You can't resist," \ | ||
| "because it is a huge deal.", \ | ||
| "img/Support-Premium.svg", \ | ||
| "Get more support" | ||
| if not self.backup_subscriptions.exists(): | ||
| yield "backup", _("Backup service") | ||
| yield "backup", _( | ||
| "Backup service" | ||
| ), "This will give you " \ | ||
| "more of this and that. " \ | ||
| "You can't resist," \ | ||
| "because it is a huge deal.",\ | ||
| "img/Support-Backup.svg", \ | ||
| "Get daily backups" | ||
|
|
||
| def update_status(self): | ||
| status = "community" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.