[ARVADOS] updated: 572b91cb6634331543a63f66a1b5baf3858896b7

Git user git at public.curoverse.com
Sat Oct 1 09:42:00 EDT 2016


Summary of changes:
 apps/wb2/app.js | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

       via  572b91cb6634331543a63f66a1b5baf3858896b7 (commit)
      from  d9d02fc279ceca167a3a21e73a62774059409f30 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 572b91cb6634331543a63f66a1b5baf3858896b7
Author: Tom Clegg <tom at curoverse.com>
Date:   Sat Oct 1 09:41:22 2016 -0400

    9668: link discovery doc page

diff --git a/apps/wb2/app.js b/apps/wb2/app.js
index 1b3e062..64ae319 100644
--- a/apps/wb2/app.js
+++ b/apps/wb2/app.js
@@ -225,13 +225,19 @@ var TopNav = {
                    Object.keys(savedTokens.Load()).map(function(siteID) {
                        return m('li.nav-item', m(bsDropdown, {
                            label: siteID,
-                           items: resources.map(function(resource) {
+                           items: [
+			       m('a', {
+				   oncreate: m.route.link,
+				   href: '/site/'+siteID+'/discovery',
+				   key: '_site',
+			       }, 'about '+siteID),
+			   ].concat(resources.map(function(resource) {
                                return m('a', {
                                    oncreate: m.route.link,
                                    href: '/site/'+siteID+'/'+resource,
                                    key: resource,
                                }, resource.replace(/_/g, ' '));
-                           }),
+                           })),
                        }));
                    }),
                    m('li.nav-item.pull-xs-right',

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list