diff options
author | Vilem Duha <vilem.duha@gmail.com> | 2019-06-06 15:27:18 +0300 |
---|---|---|
committer | Vilem Duha <vilem.duha@gmail.com> | 2019-06-06 15:28:33 +0300 |
commit | 9823579a2da0d65f8e545e7daefd18a38676e859 (patch) | |
tree | 6d83336afa43d22175c1c44a01a732a658eccb21 /blenderkit/ui_panels.py | |
parent | a2c280a16b947b7e4e05cb595c54769af053e26b (diff) |
BlenderKit: refactor reporting to User.
this is still not very compatible with blender's way of doing things, but we need more lines of reporting for parallel tasks reporting.
Diffstat (limited to 'blenderkit/ui_panels.py')
-rw-r--r-- | blenderkit/ui_panels.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py index 197f208f..37b84aeb 100644 --- a/blenderkit/ui_panels.py +++ b/blenderkit/ui_panels.py @@ -273,11 +273,11 @@ def draw_panel_model_search(self, context): layout.prop(props, "search_keywords", text="", icon='VIEWZOOM') icon = 'NONE' - if props.report == 'Available only in higher plans.': + if props.report == 'You need Standard plan to get this item.': icon = 'ERROR' label_multiline(layout, text=props.report, icon=icon) - if props.report == 'Available only in higher plans.': - layout.operator("wm.url_open", text="Check plans", icon='URL').url = paths.BLENDERKIT_PLANS + if props.report == 'You need Standard plan to get this item.': + layout.operator("wm.url_open", text="Get Standard plan", icon='URL').url = paths.BLENDERKIT_PLANS layout.prop(props, "search_style") layout.prop(props, "free_only") |