From 7b64af59410f1a658c70b8be367156fc3f4da17c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:20:19 +0200 Subject: Adding upstream version 2.1.0. Signed-off-by: Daniel Baumann --- application/views/scripts/integrations/index.phtml | 56 ++++++++++++++++++++++ application/views/scripts/integrations/new.phtml | 6 +++ .../views/scripts/integrations/remove.phtml | 6 +++ .../views/scripts/integrations/update.phtml | 6 +++ 4 files changed, 74 insertions(+) create mode 100644 application/views/scripts/integrations/index.phtml create mode 100644 application/views/scripts/integrations/new.phtml create mode 100644 application/views/scripts/integrations/remove.phtml create mode 100644 application/views/scripts/integrations/update.phtml (limited to 'application/views/scripts') diff --git a/application/views/scripts/integrations/index.phtml b/application/views/scripts/integrations/index.phtml new file mode 100644 index 0000000..0f657ce --- /dev/null +++ b/application/views/scripts/integrations/index.phtml @@ -0,0 +1,56 @@ +
+ + qlink( + $this->translate('Integrate New Ticket System') , + 'generictts/integrations/new', + null, + array( + 'class' => 'action-link', + 'data-base-target' => '_next', + 'icon' => 'plus', + 'title' => $this->translate('Integrate a new trouble ticket system') + ) + ) ?> +
+
+isEmpty()): ?> +

translate('No ticket system has been integrated yet.') ?>

+ + + + + + + + + + + $integration): /** @var object $role */ ?> + + + + + + + + +
translate('Name') ?>translate('Pattern') ?>translate('URL') ?>
+ qlink( + $name, + 'generictts/integrations/update', + array('integration' => $name), + array('title' => sprintf($this->translate('Update integration %s'), $name)) + ) ?> + escape($integration->pattern) ?>escape($integration->url) ?> + qlink( + '', + 'generictts/integrations/remove', + array('integration' => $name), + array( + 'class' => 'action-link', + 'icon' => 'cancel', + 'title' => sprintf($this->translate('Remove integration %s'), $name) + ) + ) ?> +
+
diff --git a/application/views/scripts/integrations/new.phtml b/application/views/scripts/integrations/new.phtml new file mode 100644 index 0000000..13a8ed9 --- /dev/null +++ b/application/views/scripts/integrations/new.phtml @@ -0,0 +1,6 @@ +
+ +
+
+ +
diff --git a/application/views/scripts/integrations/remove.phtml b/application/views/scripts/integrations/remove.phtml new file mode 100644 index 0000000..13a8ed9 --- /dev/null +++ b/application/views/scripts/integrations/remove.phtml @@ -0,0 +1,6 @@ +
+ +
+
+ +
diff --git a/application/views/scripts/integrations/update.phtml b/application/views/scripts/integrations/update.phtml new file mode 100644 index 0000000..13a8ed9 --- /dev/null +++ b/application/views/scripts/integrations/update.phtml @@ -0,0 +1,6 @@ +
+ +
+
+ +
-- cgit v1.2.3