5e263e09a1118f14427dd489e8df3ec1.png PSMList 0.4.0 PSM-040-026

Général

Ordre affichage : 24 Création : 03/06/2023 02h29
Index BL : 26 Modification : 05/07/2023 14h22
BL : PSM-040-026

Source : Aucune Soeurs : -

Dev

Fin dev :   D (Done) Ticket : -
Contrôle dev effectué : Fiche : -

C.Qualif. :   #000000
Activé : Icône FA : Par défaut

Contact : ARS - Arshellan Qualification : Nouveauté
Répartition : - Module : Keywords
Dev : ARS - Arshellan Sous module : -

Provenance : 0.4.0  New Constat : -

Début : S.22 Charge j. : -
Fin : S.25 Délai j. : -
Priorité : - Pokercard : -
Estimatif j. : -

Description : New db field for notes on keywords, like rule-specific stuff that doesn't belong in the keyword itself.

Texte Commit : -

Description client : Added the possibility for keywords to have an additional field for notes regarding rules. Its meaning is to provide small bonus information regarding rules, while not being part of the actual keyword description.

Client

Fascicule : Ne pas communiquer :
Alerte Mailing :

PreP

Statut PreP :   OK - Validé Testeur : ARS - Arshellan

Discussion

ARS

Arshellan

lundi 19 juin 2023 à 11:58

/**<br/> * @ORM\Column(type="string", length=2000)<br/> */<br/> private $notes;

ARS

Arshellan

lundi 19 juin 2023 à 12:00

public function getNotes(): ?string {<br/> return $this->notes;<br/> }<br/> public function setNotes(string $notes): self {<br/> $this->notes = $notes;<br/> return $this;<br/> }

ARS

Arshellan

lundi 19 juin 2023 à 12:02

in forms add and edit for keyword<br/><br/><br/> ->add('notes', TextareaType::class, [<br/> 'label' => 'Notes : ',<br/> 'required' => false,<br/> 'attr' => [<br/> 'maxlength' => 2000,<br/> ],<br/> ])

ARS

Arshellan

lundi 19 juin 2023 à 12:28

<div class="whitebox" style="text-align: left; width: 100%;"><br/> <h2>Effect</h2><br/> <p>{{ keyword.effect }}</p><br/> </div><br/><br/> {% if keyword.notes is defined and keyword.notes is not null and keyword.notes != '' %}<br/> <div class="whitebox" style="text-align: left; width: 100%;"><br/> <h2>Rules Notes</h2><br/> <p>{{ keyword.notes }}</p><br/> </div><br/> {% endif %}