From 31d73724998b73ef49100d329245b61296fc0c29 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 18 Apr 2016 22:28:43 +0200 Subject: [PATCH] Continued a bit: - added template for showing "add_contact_cellphone" form or show contact's cellphone data - added form template for above thing - fixed some XML name spaces (to .org) - fixed error message output in some templates --- web/WEB-INF/templates.dist/template.tpl | 4 ++-- .../cellphone/admin_cellphone_add_show.tpl | 20 +++++++++++++++++++ .../admin/cellphone/admin_cellphone_data.tpl | 2 +- .../admin/cellphone/admin_cellphone_links.tpl | 2 +- .../contact/admin_form_contact_cellphone.tpl | 10 ++++++++++ web/admin/user/admin_user_show.xhtml | 2 +- 6 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 web/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl create mode 100644 web/WEB-INF/templates/admin/contact/admin_form_contact_cellphone.tpl diff --git a/web/WEB-INF/templates.dist/template.tpl b/web/WEB-INF/templates.dist/template.tpl index d1d06bb0..aa442752 100644 --- a/web/WEB-INF/templates.dist/template.tpl +++ b/web/WEB-INF/templates.dist/template.tpl @@ -1,8 +1,8 @@ diff --git a/web/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl b/web/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl new file mode 100644 index 00000000..2f3ec755 --- /dev/null +++ b/web/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl b/web/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl index dfaf3a64..47ce5c93 100644 --- a/web/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl +++ b/web/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl @@ -5,7 +5,7 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - + diff --git a/web/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl b/web/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl index c3dffb48..abd24354 100644 --- a/web/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl +++ b/web/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl @@ -5,7 +5,7 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - +
    diff --git a/web/WEB-INF/templates/admin/contact/admin_form_contact_cellphone.tpl b/web/WEB-INF/templates/admin/contact/admin_form_contact_cellphone.tpl new file mode 100644 index 00000000..25dd7b39 --- /dev/null +++ b/web/WEB-INF/templates/admin/contact/admin_form_contact_cellphone.tpl @@ -0,0 +1,10 @@ + + + + + + diff --git a/web/admin/user/admin_user_show.xhtml b/web/admin/user/admin_user_show.xhtml index 629ec20c..2e45ef73 100644 --- a/web/admin/user/admin_user_show.xhtml +++ b/web/admin/user/admin_user_show.xhtml @@ -175,7 +175,7 @@ - + -- 2.39.5