From d30ac40772ec1b4706922afd8acab8448af39a9e Mon Sep 17 00:00:00 2001 From: Julien-Pierre Avérous Date: Thu, 13 Feb 2020 19:22:35 +0200 Subject: Enhance content path feature (#2778) - Add a maintenance section to be able to clear cache and force reload a feed. - Add an icon next to path field to show a pop-up with the result of the content path. Co-authored-by: Frans de Jonge Co-authored-by: Alexandre Alapetite Co-authored-by: Marien Fressinaud --- app/views/feed/contentSelectorPreview.phtml | 36 +++++++++++++++++++++++++++++ app/views/helpers/feed/update.phtml | 21 ++++++++++++++++- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 app/views/feed/contentSelectorPreview.phtml (limited to 'app/views') diff --git a/app/views/feed/contentSelectorPreview.phtml b/app/views/feed/contentSelectorPreview.phtml new file mode 100644 index 000000000..3bb27859a --- /dev/null +++ b/app/views/feed/contentSelectorPreview.phtml @@ -0,0 +1,36 @@ + + + + + + + + + fatalError != '') { ?> +

fatalError ?>

+ + selectorSuccess === false) { ?> +

+ +

+ + +
+ + + +
+ +
+
htmlContent ?>
+ +
+ + + diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index 4bc9d62a8..0a3852e22 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -274,7 +274,10 @@
- +
+ + +
@@ -354,5 +357,21 @@ + + +
+
+ + + + +
+
+ + + + +
+
-- cgit v1.2.3