From 9823579a2da0d65f8e545e7daefd18a38676e859 Mon Sep 17 00:00:00 2001 From: Vilem Duha Date: Thu, 6 Jun 2019 14:27:18 +0200 Subject: 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. --- blenderkit/ui_panels.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'blenderkit/ui_panels.py') 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") -- cgit v1.2.3