In the main menu add action for the help button
authorNikos Skalkotos <skalkoto@grnet.gr>
Tue, 19 Mar 2013 15:17:32 +0000 (17:17 +0200)
committerNikos Skalkotos <skalkoto@grnet.gr>
Tue, 19 Mar 2013 15:17:32 +0000 (17:17 +0200)
Display the online documentation url

image_creator/dialog_menu.py

index 84d11c7..47e07e2 100644 (file)
@@ -670,6 +670,10 @@ def main_menu(session):
                 d.infobox("Resetting snf-image-creator. Please wait...",
                           width=SMALL_WIDTH)
                 raise Reset
+        elif choice == "Help":
+            d.msgbox("For help, check the online documentation:\n\nhttp://www"
+                     ".synnefo.org/docs/snf-image-creator/latest/",
+                     width=WIDTH, title="Help")
         elif choice in actions:
             actions[choice](session)