File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -389,18 +389,27 @@ def create_save_button(self):
389
389
embed = False ,
390
390
)
391
391
392
+ def get_version (self ):
393
+ try :
394
+ return self .dataui_manager .get_version ()
395
+ except Exception as e :
396
+ return "Unknown version"
397
+
392
398
def get_about_text (self ):
393
- version = "0.1.0"
399
+ try :
400
+ return self .dataui_manager .get_about_text ()
401
+ except Exception as e :
402
+ version = self .get_version ()
394
403
395
- # insert app version with date time of last commit and commit id
396
- version_string = f"Data UI: { version } "
397
- about_text = f"""
398
- ## App version:
399
- ### { version }
404
+ # insert app version with date time of last commit and commit id
405
+ version_string = f"Data UI: { version } "
406
+ about_text = f"""
407
+ ## App version:
408
+ ### { version }
400
409
401
- ## An App to view data using Holoviews and Panel
402
- """
403
- return about_text
410
+ ## An App to view data using Holoviews and Panel
411
+ """
412
+ return about_text
404
413
405
414
def create_about_button (self , template ):
406
415
about_btn = pn .widgets .Button (
You can’t perform that action at this time.
0 commit comments