diff --git a/src/router/mobile.js b/src/router/mobile.js
index 2e54ed66..a3fad734 100644
--- a/src/router/mobile.js
+++ b/src/router/mobile.js
@@ -297,6 +297,16 @@ const routes = [
async: asyncResolve(TemplateListPage),
beforeEnter: [checkLogin]
},
+ {
+ path: '/template/add',
+ async: asyncResolve(TransactionEditPage),
+ beforeEnter: [checkLogin]
+ },
+ {
+ path: '/template/edit',
+ async: asyncResolve(TransactionEditPage),
+ beforeEnter: [checkLogin]
+ },
{
path: '(.*)',
redirect: '/'
diff --git a/src/views/mobile/SettingsPage.vue b/src/views/mobile/SettingsPage.vue
index df54c10c..350756a2 100644
--- a/src/views/mobile/SettingsPage.vue
+++ b/src/views/mobile/SettingsPage.vue
@@ -7,6 +7,7 @@
+
diff --git a/src/views/mobile/templates/ListPage.vue b/src/views/mobile/templates/ListPage.vue
index 9eab22b6..5121acaa 100644
--- a/src/views/mobile/templates/ListPage.vue
+++ b/src/views/mobile/templates/ListPage.vue
@@ -1,16 +1,340 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('Sort') }}
+ {{ $t('Show Hidden Transaction Templates') }}
+ {{ $t('Hide Hidden Transaction Templates') }}
+
+
+ {{ $t('Cancel') }}
+
+
+
+
+
+ {{ $t('Are you sure you want to delete this template?') }}
+ {{ $t('Delete') }}
+
+
+ {{ $t('Cancel') }}
+
+
diff --git a/src/views/mobile/transactions/EditPage.vue b/src/views/mobile/transactions/EditPage.vue
index b5aa256a..80a21291 100644
--- a/src/views/mobile/transactions/EditPage.vue
+++ b/src/views/mobile/transactions/EditPage.vue
@@ -9,35 +9,36 @@
-
+
+ v-if="type === 'transaction' && transaction.type === allTransactionTypes.ModifyBalance">
+
-
-
-
+
+
+
@@ -48,8 +49,16 @@
-
+
+
+
@@ -237,7 +247,9 @@
class="list-item-with-header-and-title list-item-title-hide-overflow list-item-no-item-after"
:class="{ 'readonly': mode === 'view' }"
:header="$t('Transaction Timezone')"
- smart-select :smart-select-params="{ openIn: 'popup', popupPush: true, closeOnSelect: true, scrollToSelectedItem: true, searchbar: true, searchbarPlaceholder: $t('Timezone'), searchbarDisableText: $t('Cancel'), appendSearchbarNotFound: $t('No results'), pageTitle: $t('Transaction Timezone'), popupCloseLinkText: $t('Done') }">
+ smart-select :smart-select-params="{ openIn: 'popup', popupPush: true, closeOnSelect: true, scrollToSelectedItem: true, searchbar: true, searchbarPlaceholder: $t('Timezone'), searchbarDisableText: $t('Cancel'), appendSearchbarNotFound: $t('No results'), pageTitle: $t('Transaction Timezone'), popupCloseLinkText: $t('Done') }"
+ v-if="type === 'transaction'"
+ >