web: Add header menu items also as submenu.
authorWerner Koch <wk@gnupg.org>
Thu, 10 Dec 2015 19:56:26 +0000 (20:56 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 10 Dec 2015 19:56:26 +0000 (20:56 +0100)
According to a report from Andrey Utkin posted to gnupg-users, some
people won't notice that they need to click on the top menu entry to
get to the donation page.  This patch fixes that for the important 3
top menu items.

What still needs to be fixed is that in the permanently show submenu,
the first item needs to be made passive.

web/share/gpgweb.el

index 3fd950f..be7faf9 100644 (file)
@@ -72,16 +72,19 @@ if not available."
 (defconst gpgweb-gnupg-menu-alist
   '(("/index.html"
      "Home"
-     (("/features.html"                    "Features")
+     (("/index.html"                       "Home")
+      ("/features.html"                    "Features")
       ("/news.html"                        "News")
       ("/people/index.html"                "People")
       ("/service.html"                     "Service")))
     ("/donate/index.html"
      "Donate"
-     (("/donate/kudos.html"                "List of Donors")))
+     (("/donate/index.html"                "Donate")
+      ("/donate/kudos.html"                "List of Donors")))
     ("/download/index.html"
      "Download"
-     (("/download/integrity_check.html"    "Integrity&nbsp;Check")
+     (("/download/index.html"              "Download")
+      ("/download/integrity_check.html"    "Integrity&nbsp;Check")
       ("/download/supported_systems.html"  "Supported&nbsp;Systems")
       ("/download/release_notes.html"      "Release&nbsp;Notes")
       ("/download/mirrors.html"            "Mirrors")