Skip to content

Commit

Permalink
Clarified text on plugins page
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky4546 committed Jan 1, 2024
1 parent d8674f8 commit 0bf94a0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion build/WINDOWS/TvhLib.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ Function DataFolderPage
Abort
${EndIf}
CreateDirectory "$DataFolder"
${NSD_CreateLabel} 0 0 100% 24u "Please specify the Cabernet data folder. Writeable by the user: System"
${NSD_CreateLabel} 0 0 100% 24u "Please specify the Cabernet data folder. \
Writeable by the user: System$\r$\nIt is highly recommended to have \
this folder be easy to access."
${NSD_CreateGroupBox} 0 40u 100% 34u "Data Folder"
${NSD_CreateText} 3% 54u 77% 12u "$DataFolder"
Pop $txtDataFolder
Expand Down
2 changes: 1 addition & 1 deletion lib/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

import lib.common.exceptions as exceptions

VERSION = '0.9.14.01'
VERSION = '0.9.14.02'
CABERNET_URL = 'https://github.com/cabernetwork/cabernet'
CABERNET_ID = 'cabernet'
CABERNET_REPO = 'manifest.json'
Expand Down
12 changes: 9 additions & 3 deletions lib/plugins/plugin_manager/plugins_form_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,14 @@ def form_plugins(self, _is_installed):
_is_installed, None, None)

if not plugin_defns:
return ''.join([
'All available plugins are installed'
])
if self.area == 'My_Plugins':
return ''.join([
'No plugins are installed. Go to Catalog and select a plugin to install.'
])
elif self.area == 'Catalog':
return ''.join([
'All available plugins are installed'
])

plugins_list = ''
for plugin_defn in sorted(plugin_defns, key=lambda p: p['id']):
Expand Down Expand Up @@ -427,6 +432,7 @@ def form(self):
self.form_plugins(True), '</div>'])
elif self.area == 'Catalog':
forms_html = ''.join([
'Plugins Available To Install:'
'<div class="plugin_list">',
self.form_plugins(_is_installed=False),
'</div>'])
Expand Down

0 comments on commit 0bf94a0

Please sign in to comment.