forked from bartvdbraak/blender
Addons: remove tracker URL from addon template, as this is no longer used,
and link to the new Addons bug reporting page.
This commit is contained in:
parent
f8eb006d09
commit
f546c7a889
@ -408,7 +408,6 @@ def module_bl_info(mod, info_basis={"name": "",
|
||||
"location": "",
|
||||
"description": "",
|
||||
"wiki_url": "",
|
||||
"tracker_url": "",
|
||||
"support": 'COMMUNITY',
|
||||
"category": "",
|
||||
"warning": "",
|
||||
|
@ -1255,15 +1255,15 @@ class USERPREF_PT_addons(Panel):
|
||||
split.label(text=' ' + info["warning"], icon='ERROR')
|
||||
|
||||
user_addon = USERPREF_PT_addons.is_user_addon(mod, user_addon_paths)
|
||||
tot_row = bool(info["wiki_url"]) + bool(info["tracker_url"]) + bool(user_addon)
|
||||
tot_row = bool(info["wiki_url"]) + bool(user_addon)
|
||||
|
||||
if tot_row:
|
||||
split = colsub.row().split(percentage=0.15)
|
||||
split.label(text="Internet:")
|
||||
if info["wiki_url"]:
|
||||
split.operator("wm.url_open", text="Documentation", icon='HELP').url = info["wiki_url"]
|
||||
if info["tracker_url"]:
|
||||
split.operator("wm.url_open", text="Report a Bug", icon='URL').url = info["tracker_url"]
|
||||
tracker_url = "http://developer.blender.org/maniphest/task/create/?project=3&type=Bug"
|
||||
split.operator("wm.url_open", text="Report a Bug", icon='URL').url = tracker_url
|
||||
if user_addon:
|
||||
split.operator("wm.addon_remove", text="Remove", icon='CANCEL').module = mod.__name__
|
||||
|
||||
|
@ -7,7 +7,6 @@ bl_info = {
|
||||
"description": "Adds a new Mesh Object",
|
||||
"warning": "",
|
||||
"wiki_url": "",
|
||||
"tracker_url": "",
|
||||
"category": "Add Mesh"}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user