equal
deleted
inserted
replaced
1 <h4 class="text-center">{if $currentTicket->getId() == NULL}Neues Ticket{else}Ticket Nr. {$currentTicket->getId()}{/if}</h4> |
|
2 <hr/> |
|
3 |
|
4 <div class="container-fluid"> |
|
5 <div class="row"> |
|
6 <div class="col-lg-12"> |
|
7 <form action="/tickets/" method="post"> |
|
8 <p> |
|
9 <label for="subjectId">Betreff</label> |
|
10 <input id="subjectId" type="text" name="subject" value="{$currentTicket->getSubject()}"/> |
|
11 </p> |
|
12 |
|
13 <p> |
|
14 <label for="messageId">Nachricht</label> |
|
15 <textarea id="messageId" name="message">{$currentTicket->getMessage()}</textarea> |
|
16 </p> |
|
17 |
|
18 <p> |
|
19 <label for="statusId">Status</label> |
|
20 <select id="statusId" name="status"> |
|
21 {foreach $statusItems as $status} |
|
22 {if $status->getId() == $currentTicket->getStatus_Id()} |
|
23 <option value="{$status->getId()}" selected="selected">{$status->getName()}</option> |
|
24 {else} |
|
25 <option value="{$status->getId()}">{$status->getName()}</option> |
|
26 {/if} |
|
27 {/foreach} |
|
28 </select> |
|
29 </p> |
|
30 |
|
31 {if $smarty.session.prefix.group_id == $tGroup::ADMIN || $smarty.session.prefix.group_id == $tGroup::MANAGER} |
|
32 <p> |
|
33 <label for="userId">Bearbeiter</label> |
|
34 <select id="userId" name="user_id"> |
|
35 {foreach $users as $user} |
|
36 {if $user->getId() == $currentTicket->getUser_Id()} |
|
37 <option value="{$user->getId()}" selected="selected">{$tUser->getFormattedUsername($user->getId())}</option> |
|
38 {else} |
|
39 <option value="{$user->getId()}">{$tUser->getFormattedUsername($user->getId())}</option> |
|
40 {/if} |
|
41 {/foreach} |
|
42 </select> |
|
43 </p> |
|
44 {/if} |
|
45 |
|
46 <p> |
|
47 <input type="submit" name="eintragen" value="eintragen"/> |
|
48 <input type="hidden" name="tid" value="{$currentTicket->getId()}"/> |
|
49 </p> |
|
50 </form> |
|
51 </div> |
|
52 </div> |
|
53 </div> |
|