Browse Source

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

ideas
Guillaume 3 years ago
parent
commit
aab8668a4b
4 changed files with 11 additions and 3 deletions
  1. +1
    -0
      Form/Ticket/TicketFormType.php
  2. +6
    -1
      Resources/assets/app/adminlte/form/form.scss
  3. +3
    -1
      Resources/translations/admin.fr.yaml
  4. +1
    -1
      Resources/views/admin/ticket/new.html.twig

+ 1
- 0
Form/Ticket/TicketFormType.php View File

[ [
'entry_type' => TicketMessageType::class, 'entry_type' => TicketMessageType::class,
'allow_add' => false, 'allow_add' => false,
'label_attr' => ['class' => 'label-ticket'],
] ]
); );



+ 6
- 1
Resources/assets/app/adminlte/form/form.scss View File


.form-sent { .form-sent {
.form-control:invalid { .form-control:invalid {
border-color: #dc3545; border-color: #dc3545;
} }
} }


.label-ticket {
display: none;
}


#ticket_form_ticketMessages legend {
display: none;
}



+ 3
- 1
Resources/translations/admin.fr.yaml View File

open: Ouvert open: Ouvert
being-processed: En attente being-processed: En attente
closed: Fermé closed: Fermé

TicketMessage:
fields:
message: Votre réponse
default: default:
fields: fields:
id: Id id: Id

+ 1
- 1
Resources/views/admin/ticket/new.html.twig View File

{% extends '@LcSov/adminlte/layout.html.twig' %} {% extends '@LcSov/adminlte/layout.html.twig' %}


{% block content_title %} {% block content_title %}
{# {{ 'ticket.profile'|lc_trans_admin_title }}#}
{# {{ 'ticket.profile'|lc_trans_admin_title }} #}
Créer un ticket Créer un ticket
{% endblock %} {% endblock %}



Loading…
Cancel
Save