templates/tickets/ticketanlegen.tpl
changeset 7 3ed6f90e97d9
parent 6 6c23ee543e0e
child 8 54ea0099329c
deleted file mode 100644
--- a/templates/tickets/ticketanlegen.tpl
+++ /dev/null
@@ -1,53 +0,0 @@
-<h4 class="text-center">{if $currentTicket->getId() == NULL}Neues Ticket{else}Ticket Nr. {$currentTicket->getId()}{/if}</h4>
-<hr/>
-
-<div class="container-fluid">
-    <div class="row">
-        <div class="col-lg-12">
-            <form action="/tickets/" method="post">
-                <p>
-                    <label for="subjectId">Betreff</label>
-                    <input id="subjectId" type="text" name="subject" value="{$currentTicket->getSubject()}"/>
-                </p>
-
-                <p>
-                    <label for="messageId">Nachricht</label>
-                    <textarea id="messageId" name="message">{$currentTicket->getMessage()}</textarea>
-                </p>
-
-                <p>
-                    <label for="statusId">Status</label>
-                    <select id="statusId" name="status">
-                        {foreach $statusItems as $status}
-                            {if $status->getId() == $currentTicket->getStatus_Id()}
-                                <option value="{$status->getId()}" selected="selected">{$status->getName()}</option>
-                            {else}
-                                <option value="{$status->getId()}">{$status->getName()}</option>
-                            {/if}
-                        {/foreach}
-                    </select>
-                </p>
-
-                {if $smarty.session.prefix.group_id == $tGroup::ADMIN || $smarty.session.prefix.group_id == $tGroup::MANAGER}
-                    <p>
-                        <label for="userId">Bearbeiter</label>
-                        <select id="userId" name="user_id">
-                            {foreach $users as $user}
-                                {if $user->getId() == $currentTicket->getUser_Id()}
-                                    <option value="{$user->getId()}" selected="selected">{$tUser->getFormattedUsername($user->getId())}</option>
-                                {else}
-                                    <option value="{$user->getId()}">{$tUser->getFormattedUsername($user->getId())}</option>
-                                {/if}
-                            {/foreach}
-                        </select>
-                    </p>
-                {/if}
-
-                <p>
-                    <input type="submit" name="eintragen" value="eintragen"/>
-                    <input type="hidden" name="tid" value="{$currentTicket->getId()}"/>
-                </p>
-            </form>
-        </div>
-    </div>
-</div>