mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-02-10 21:58:40 +00:00
Fix absolute path to relative paths
This commit is contained in:
parent
97a1e914dd
commit
d7241b9daa
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Ticket",
|
"name": "Ticket",
|
||||||
"uri": "/{/lang}/backend/support/list?{?}",
|
"uri": "{/lang}/backend/support/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 1,
|
"order": 1,
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "List",
|
"name": "List",
|
||||||
"uri": "/{/lang}/backend/support/list?{?}",
|
"uri": "{/lang}/backend/support/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 1,
|
"order": 1,
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Create",
|
"name": "Create",
|
||||||
"uri": "/{/lang}/backend/support/create?{?}",
|
"uri": "{/lang}/backend/support/create?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 5,
|
"order": 5,
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Settings",
|
"name": "Settings",
|
||||||
"uri": "/{/lang}/backend/support/settings/dashboard?{?}",
|
"uri": "{/lang}/backend/support/settings/dashboard?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 5,
|
"order": 5,
|
||||||
|
|
@ -83,7 +83,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Analysis",
|
"name": "Analysis",
|
||||||
"uri": "/{/lang}/backend/support/analysis/dashboard?{?}",
|
"uri": "{/lang}/backend/support/analysis/dashboard?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 10,
|
"order": 10,
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Support",
|
"name": "Support",
|
||||||
"uri": "/{/lang}/backend/private/support/dashboard?{?}",
|
"uri": "{/lang}/backend/private/support/dashboard?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 5,
|
"order": 5,
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $c = 0; foreach ($tickets as $key => $ticket) : $c++;
|
<?php $c = 0; foreach ($tickets as $key => $ticket) : $c++;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/support/single?{?}&id=' . $ticket->getId());
|
$url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/support/single?{?}&id=' . $ticket->getId());
|
||||||
$color = 'darkred';
|
$color = 'darkred';
|
||||||
if ($ticket->getTask()->getStatus() === \Modules\Tasks\Models\TaskStatus::DONE) { $color = 'green'; }
|
if ($ticket->getTask()->getStatus() === \Modules\Tasks\Models\TaskStatus::DONE) { $color = 'green'; }
|
||||||
elseif ($ticket->getTask()->getStatus() === \Modules\Tasks\Models\TaskStatus::OPEN) { $color = 'darkblue'; }
|
elseif ($ticket->getTask()->getStatus() === \Modules\Tasks\Models\TaskStatus::OPEN) { $color = 'darkblue'; }
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<section class="box wf-100">
|
<section class="box wf-100">
|
||||||
<header><h1><?= $this->getHtml('Ticket'); ?></h1></header>
|
<header><h1><?= $this->getHtml('Ticket'); ?></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/helper/template'); ?>" method="post">
|
<form action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/helper/template'); ?>" method="post">
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td><label for="iTitle"><?= $this->getHtml('Department'); ?></label>
|
<tr><td><label for="iTitle"><?= $this->getHtml('Department'); ?></label>
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<section class="box wf-100">
|
<section class="box wf-100">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form id="taskElementCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task/element?{?}&csrf={$CSRF}'); ?>">
|
<form id="taskElementCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/task/element?{?}&csrf={$CSRF}'); ?>">
|
||||||
<table class="layout wf-100">
|
<table class="layout wf-100">
|
||||||
<tr><td><label for="iMessage"><?= $this->getHtml('Message') ?></label>
|
<tr><td><label for="iMessage"><?= $this->getHtml('Message') ?></label>
|
||||||
<tr><td><textarea id="iMessage" name="description"></textarea>
|
<tr><td><textarea id="iMessage" name="description"></textarea>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user