diff options
author | Vilem Duha <vilem.duha@gmail.com> | 2021-07-04 10:10:58 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-07-26 09:08:58 +0300 |
commit | 29db4b5feb893fdd02cd45b12037e0e5ac3cd22c (patch) | |
tree | b619bb2f2f94174a5128d6ece8f2cde82f5ddda8 /blenderkit/paths.py | |
parent | 526557bba142a359b9aad773cecf5d702577eb2e (diff) |
BlenderKit: fix category display
was actually showing slugs, now shows names with links
fix long descriptions issue - now has a 'more' button to read the rest online
(label_multiline now has a max_lines parameter and returns True if max lenght was reached)
fix avatars to match server
Diffstat (limited to 'blenderkit/paths.py')
-rw-r--r-- | blenderkit/paths.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/blenderkit/paths.py b/blenderkit/paths.py index 57511108..12b815e5 100644 --- a/blenderkit/paths.py +++ b/blenderkit/paths.py @@ -83,6 +83,8 @@ def get_oauth_landing_url(): def get_author_gallery_url(author_id): return f'{get_bkit_url()}/asset-gallery?query=author_id:{author_id}' +def get_asset_gallery_url(asset_id): + return f'{get_bkit_url()}/asset-gallery-detail/{asset_id}/' def default_global_dict(): from os.path import expanduser |