Difference between revisions of "Form:CreateProperties"

(init wikifab pages)
(init wikifab pages)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<div class="row">
 
<div class="row">
<div class="col-xs-3">{{Dokit:AdminNav}}</div>
+
<div class="col-xs-3">{{#dokitAdminNav:}}</div>
 
<div class="col-xs-9 DokitPropertiesListForm">
 
<div class="col-xs-9 DokitPropertiesListForm">
 
{{#createPropertiesResources:}}
 
{{#createPropertiesResources:}}
<h2>Add properties</h2>
+
<h2>{{int:dokit-metadatas-title}}</h2>
 
{{{for template|PropertiesList|multiple|maximum instances=10}}}
 
{{{for template|PropertiesList|multiple|maximum instances=10}}}
 
<div class="DokitPropertiesBlockForm"><div class="WfFormLabel">Title</div>
 
<div class="DokitPropertiesBlockForm"><div class="WfFormLabel">Title</div>
Line 31: Line 31:
 
</div>
 
</div>
 
<div class="col-md-6">
 
<div class="col-md-6">
<div class="WfFormLabel">Icon <span class="custom-tooltip">{{#info:Entrez ici l'ID d'une icon Fontawesome : https://fontawesome.com/v4.7.0/icons/}}</span></div>
+
<div class="WfFormLabel">Icon <span class="custom-tooltip">{{#info:Entrez ici l'ID d'une icône Fontawesome : https://fontawesome.com/v4.7.0/icons/}}</span></div>
<div>{{{field|PropertyIcon|input type=text|mandatory|class=WfFormText|placeholder=ie: Fa-Tag}}}</div>
+
<div>{{{field|PropertyIcon|input type=text|mandatory|class=WfFormText|placeholder=ie: fa-tag}}}</div>
 
</div>
 
</div>
 
</div>
 
</div>
Line 210: Line 210:
 
<div class="row">
 
<div class="row">
 
<div class="col-md-6">
 
<div class="col-md-6">
<div class="WfFormLabel">Options</div>
+
<div class="WfFormLabel">{{int:dokit-metadatas-options}}</div>
 
{{{field|PropertyMandatory|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-propertymandatory-}}}
 
{{{field|PropertyMandatory|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-propertymandatory-}}}
 
{{{field|PropertyFilter|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-propertyfilter-}}}
 
{{{field|PropertyFilter|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-propertyfilter-}}}
 
</div>
 
</div>
 
<div class="col-md-6">
 
<div class="col-md-6">
<div class="WfFormLabel">Emplacements</div>
+
<div class="WfFormLabel">{{int:dokit-metadatas-emplacements}}</div>
 
{{{field|PropertyPlace|input type=checkboxes|class=WfFormCheckbox}}}
 
{{{field|PropertyPlace|input type=checkboxes|class=WfFormCheckbox}}}
 
</div>
 
</div>
Line 221: Line 221:
 
</div>
 
</div>
 
{{{end template}}}
 
{{{end template}}}
<h2>Métadonnées pré-configurées</h2>
+
<h2>{{int:dokit-metadatas-preset}}</h2>
 
{{{for template|PropertyOptions}}}
 
{{{for template|PropertyOptions}}}
 
<div>{{{field|PropertyDifficulty|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-propertydifficulty-}}}</div>
 
<div>{{{field|PropertyDifficulty|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-propertydifficulty-}}}</div>
 
<div>{{{field|PropertyDuration|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-propertyduration-}}}</div>
 
<div>{{{field|PropertyDuration|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-propertyduration-}}}</div>
 +
<div>{{{field|EnableCategoryFilter|input type=checkboxes|class=WfFormCheckbox|mapping using translate=wf-propertyvalue-enablecategoryfilter-}}}</div>
 
{{{end template}}}
 
{{{end template}}}
 
<hr>
 
<hr>

Latest revision as of 14:45, 3 October 2019