don't show the textarea for reply when ticket is closed.

--HG--
branch : quitta-gsoc-2013
This commit is contained in:
Quitta 2013-07-13 17:11:54 +02:00
parent 5d2e9dbf96
commit 26faa286bf
2 changed files with 10 additions and 0 deletions

View file

@ -33,6 +33,14 @@ t_send = "Envoyer la reponse"
[show_ticket_log] [show_ticket_log]
[ticket_log]
1 = "a cree le billet"
2 = "a cree le billet pour"
3 = "a lire le billet"
4 = "a ajoute le reponse"
5 = "change le status a"
6 = "change le priorite a"
[error] [error]
title404 = "Pas<br/>trouvez!" title404 = "Pas<br/>trouvez!"
title403 = "Interdit!" title403 = "Interdit!"

View file

@ -57,6 +57,7 @@
<tr> <tr>
<td> <td>
<form id="reply" class="form-vertical" method="post" action="index.php"> <form id="reply" class="form-vertical" method="post" action="index.php">
{if $ticket_status neq 3}
<legend>{$t_reply}:</legend> <legend>{$t_reply}:</legend>
<div class="control-group"> <div class="control-group">
<label class="control-label">{$t_fill}</label> <label class="control-label">{$t_fill}</label>
@ -66,6 +67,7 @@
</div> </div>
</div> </div>
</div> </div>
{/if}
{if isset($isAdmin) and $isAdmin eq "TRUE"} {if isset($isAdmin) and $isAdmin eq "TRUE"}
<div class="control-group" style="display: inline-block;"> <div class="control-group" style="display: inline-block;">
<label class="control-label">Change status to</label> <label class="control-label">Change status to</label>