From 92e5d811a6bd6706465dcf85828d253e06a44138 Mon Sep 17 00:00:00 2001 From: Jonathan Niles Date: Tue, 23 Feb 2016 16:39:04 +0100 Subject: [PATCH] feat(location-modal): add cached view This commit improve the location modal by allowing the current view to be stored in appcache. It also cleans up the HTML considerably by employing suggestions made by @sfount. --- .../templates/modals/location.modal.html | 47 ++++-------- .../templates/modals/location.modal.js | 73 ++++++++++++++++--- 2 files changed, 76 insertions(+), 44 deletions(-) diff --git a/client/src/partials/templates/modals/location.modal.html b/client/src/partials/templates/modals/location.modal.html index a3ec7891b4..fc45f3128f 100644 --- a/client/src/partials/templates/modals/location.modal.html +++ b/client/src/partials/templates/modals/location.modal.html @@ -9,32 +9,13 @@

{{ "MODALS.ADD_LOCATION" | translate }}

- - -
@@ -46,7 +27,7 @@

{{ "MODALS.ADD_LOCATION" | translate }}

{{ "LOCATION.COUNTRY" | translate }} {{ "MODALS.ADD_LOCATION" | translate }}
{{ "MODALS.ADD_LOCATION" | translate }}
{{ "MODALS.ADD_LOCATION" | translate }}