File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11# Copyright 2020 Eugene Molotov <https://it-projects.info/team/em230418>
2+ # Copyright 2021 Denis Mudarisov <https://github.com/trojikman>
23# License MIT (https://opensource.org/licenses/MIT).
34
45{
78 "category" : "Hidden" ,
89 # "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=13.0",
910 "images" : [],
10- "version" : "14.0.1.0.0 " ,
11+ "version" : "14.0.1.1.1 " ,
1112 "application" : False ,
1213 "author" : "IT-Projects LLC, Eugene Molotov" ,
1314 "support" : "apps@it-projects.info" ,
Original file line number Diff line number Diff line change 1+ `1.1.1 `
2+ -------
3+
4+ - **Fix: ** in cases when the database expires today or tomorrow no reminder was shown
5+
16`1.1.0 `
27-------
38
4- - **New **: ``` database_expiration_warning_delay `` option
9+ - **New **: ``database_expiration_warning_delay `` option
510- **New **: Ability to add hyperlink in warning/expiration message
611
712`1.0.0 `
Original file line number Diff line number Diff line change 11# Copyright 2020 Eugene Molotov <https://it-projects.info/team/em230418>
2+ # Copyright 2021 Denis Mudarisov <https://github.com/trojikman>
23# License MIT (https://opensource.org/licenses/MIT).
34
45import logging
@@ -61,12 +62,10 @@ def session_info(self):
6162 )
6263 res ["database_block_is_warning" ] = True
6364 elif delta .days == 1 :
64- res [
65- "database_expiration_message"
66- ] = "Your database will expire tomorrow"
65+ res ["database_block_message" ] = "Your database will expire tomorrow"
6766 res ["database_block_is_warning" ] = True
6867 elif delta .days == 0 :
69- res ["database_expiration_message " ] = "Your database will expire today"
68+ res ["database_block_message " ] = "Your database will expire today"
7069 res ["database_block_is_warning" ] = True
7170
7271 if res .get ("database_block_message" ):
You can’t perform that action at this time.
0 commit comments