From 1ea4fdf8072d6be99a13cc796c9775c05f8c9498 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 13 Sep 2015 23:05:18 +0200 Subject: Add support for aliased EANs Some products are sold under different EANs (e.g. per-country EANs). The alias table can be used to map multiple EANs to a single product. --- templates/aliases/index.html | 17 +++++++++++++++++ templates/aliases/new.html | 14 ++++++++++++++ templates/menu.html | 1 + 3 files changed, 32 insertions(+) create mode 100644 templates/aliases/index.html create mode 100644 templates/aliases/new.html (limited to 'templates') diff --git a/templates/aliases/index.html b/templates/aliases/index.html new file mode 100644 index 0000000..c914968 --- /dev/null +++ b/templates/aliases/index.html @@ -0,0 +1,17 @@ + + + + + + {{{DATA}}} + +
EANReal EANName
+ +
+
+ New Alias + + + +
+
diff --git a/templates/aliases/new.html b/templates/aliases/new.html new file mode 100644 index 0000000..34b610e --- /dev/null +++ b/templates/aliases/new.html @@ -0,0 +1,14 @@ +

Add new product alias

+ +
+

Successfully created new alias: {{{EAN}}} ➜ {{{REAL_EAN}}}

+
+ +
+

Error

+ Creating new product alias failed. Please make sure + you have sufficient permissions and gave valid values + for EAN and real EAN. +
+ +Back to alias list diff --git a/templates/menu.html b/templates/menu.html index d92d778..764068a 100644 --- a/templates/menu.html +++ b/templates/menu.html @@ -4,6 +4,7 @@