diff --git a/client/admin_nav.coffee b/client/admin_nav.coffee index f7d0f27..45c4269 100644 --- a/client/admin_nav.coffee +++ b/client/admin_nav.coffee @@ -3,6 +3,10 @@ Template._houston_navbar.events 'click #houston-logout': (e) -> e.preventDefault() Meteor.logout() + 'click #download-db': -> + download_db_link = """curl -sSL https://raw.githubusercontent.com/AlexeyMK/meteor-download/master/download.sh | bash -s #{window.location.host}""" + alert "Run the following in your terminal: \n\n#{download_db_link}" + Template._houston_navbar.helpers 'bugreport_url': -> diff --git a/client/admin_nav.html b/client/admin_nav.html index c675f61..309ba77 100644 --- a/client/admin_nav.html +++ b/client/admin_nav.html @@ -29,6 +29,9 @@ {{#if currentUser}} +