From f4a1ff3c73c487ba8fccb25c138857189025886c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20G=C3=B6tzinger?= Date: Thu, 15 Feb 2018 12:32:42 +0100 Subject: [PATCH] added templates --- .../templates/article_rateit_default.html5 | 41 +++++++++++++++++++ .../article_rateit_default_microdata.html5 | 16 ++++++++ 2 files changed, 57 insertions(+) create mode 100644 src/Resources/contao/templates/article_rateit_default.html5 create mode 100644 src/Resources/contao/templates/article_rateit_default_microdata.html5 diff --git a/src/Resources/contao/templates/article_rateit_default.html5 b/src/Resources/contao/templates/article_rateit_default.html5 new file mode 100644 index 0000000..c8698ad --- /dev/null +++ b/src/Resources/contao/templates/article_rateit_default.html5 @@ -0,0 +1,41 @@ +extend('mod_article'); ?> + +block('content'); ?> + rateit_rating_before): ?> + + block('rating'); ?> +
+ showBefore) : ?> +
description ?>
+ +
+
+
+
+ showAfter) : ?> +
description ?>
+ +
+ endblock(); ?> + + + parent(); ?> + rateit_rating_after): ?> + + block('rating'); ?> +
+ showBefore) : ?> +
description ?>
+ +
+
+
+
+ showAfter) : ?> +
description ?>
+ +
+ endblock(); ?> + + +endblock(); ?> diff --git a/src/Resources/contao/templates/article_rateit_default_microdata.html5 b/src/Resources/contao/templates/article_rateit_default_microdata.html5 new file mode 100644 index 0000000..b3a0ac0 --- /dev/null +++ b/src/Resources/contao/templates/article_rateit_default_microdata.html5 @@ -0,0 +1,16 @@ +extend('article_rateit_default'); ?> + +block('rating'); ?> + +
+ parent(); ?> + itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> + +
+ +endblock(); ?>