From 3f883ed98bc5bfc878ae8d2ea40d0996556434dd Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 24 Jun 2016 09:15:30 +0200 Subject: [PATCH] syncrule/index: add missing index file fixes #12031 --- .../views/scripts/syncrule/index.phtml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 application/views/scripts/syncrule/index.phtml diff --git a/application/views/scripts/syncrule/index.phtml b/application/views/scripts/syncrule/index.phtml new file mode 100644 index 00000000..9ec34870 --- /dev/null +++ b/application/views/scripts/syncrule/index.phtml @@ -0,0 +1,58 @@ +
+tabs ?> +

escape($this->title) ?>

+
+ +
+run): ?> +

+translate('This Sync Rule has never been run before.') ?> +

+ +sync_state === 'unknown'): ?> +

translate( + "It's currently unknown whether we are in sync with this rule." + . ' You should either check for changes or trigger a new Sync Run.' +) ?>

+sync_state === 'in-sync'): ?> +

translate( + 'This Sync Rule was last found to by in Sync at %s.' + ), + $rule->last_attempt +) /* +TODO: check whether... + - there have been imports since then, differing from former ones + - there have been activities since then +*/ ?>

+sync_state === 'pending-changes'): ?> +

translate( + 'There are pending changes for this Sync Rule. You should trigger a new' + . ' Sync Run.' +) ?>

+sync_state === 'failing'): ?> +

translate( + 'This Sync Rule failed when last checked at %s: %s' + ), + $rule->last_attempt, + $rule->last_error_message +) /* +TODO: check whether... + - there have been imports since then, differing from former ones + - there have been activities since then +*/ ?>

+ +run): ?> +

translate('Last sync run details') ?>

+ render('syncrule/syncRunDetails.phtml') ?>
+rule_name !== $rule->rule_name): ?> +escape(sprintf( + $this->translate("It has been renamed since then, it's former name was %s"), + $run->rule_name +)) ?> + +
escape( print_r($this->run->getProperties(), 1)); ?>
+ + +