Hi

The diff file implements the following: 
If the only level to ticket Urgency is configured as "medium" in the config 
page, the field and dropdown are not show in tickets page, but the field is 
still saved as "medium" in DB. If the configuration has more options, fields 
and dropdown act normally, as today.
Similar thing is done to the Impact field. 
To test is needed to disable all other levels (high, very high, low, very low) 
that are not medium in the configuration page.

The idea is have an option to use a quicker/cleaner ticket input page, when 
control over urgency/impact are not needed.

[]s




-----Mensagem original-----
De: glpi-dev-boun...@gna.org [mailto:glpi-dev-boun...@gna.org] Em nome de MoYo
Enviada em: quinta-feira, 7 de outubro de 2010 03:41
Para: Liste de diffusion des developpeurs GLPI
Assunto: Re: [Glpi-dev] New developer

Le 06/10/2010 20:06, João Peres a écrit :
> Hello
>
> I would like to contribute in the dev of GLPI.
>
> My main use of GLPI is the helpdesk, and then I have made some changes to the 
> tickets page that I think could be integrated in the 0.78.
>
> How I can send my sources to you? Is this mail-list the appropriate place to 
> discuss this kind of thing?
>
>    

Hi,

Yes it is the right place to contribute :)

You can send us diff files to be able to test your changes.
Explain the changes you made and why you have done them. It will be 
easier to us to test and comment your contributions.

Regards


> PS.: I can read French, but have no French writing skills...
>
>
> João Peres
>
>
> _______________________________________________
> Glpi-dev mailing list
> Glpi-dev@gna.org
> https://mail.gna.org/listinfo/glpi-dev
>    


_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev
File difference report generated by CSDiff by ComponentSoftware on 07/10/2010 
12:19

Base file: E:\Users\joaoprietos\Desktop\ticket.class.php.org
Compared file: E:\Users\joaoprietos\Desktop\ticket.class.php

2709c2709,2712
<       echo "<td>".$LANG['joblist'][29]."&nbsp;: </td>";
---
>         if ($CFG_GLPI['urgency_mask'] != 8){  // changed to hide urgency 
> field if only 1 option possible
>          echo "<td>".$LANG['joblist'][29]."&nbsp;: </td>";}
>         else
>       echo "<td></td>";
2710a2714
>           if ($CFG_GLPI['urgency_mask'] != 8){  // changed to hide urgency 
> field if only 1 option possible
2721c2725,2729
<       echo "</td>";
---
> 
>         
>         }
>          else    echo "<input id='$idurgency' type='hidden' name='urgency' 
> value='".$this->fields["urgency"]."'>";
>       echo "</td> ";
2765c2773,2776
<       echo "<td>".$LANG['joblist'][30]."&nbsp;: </td>";
---
>         if ($CFG_GLPI['impact_mask'] != 8){  // changed to hide impact field 
> if only 1 option possible
>                  echo "<td>".$LANG['joblist'][30]."&nbsp;: </td>";}
>         else       echo "<td></td>";
> 
2766a2778
>       if ($CFG_GLPI['impact_mask'] != 8){  // changed to hide impact field if 
> only 1 option possible
2771c2783
<       }
---
>       }}
2772a2785
> 


<---------------------  End of report  --------------------->

_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to