Edit article: verschil tussen versies
Uit Auditpedia
Regel 3: | Regel 3: | ||
{{#ifeq: {{CURRENTLOGGEDUSER}} |Margreeth Kloppenburg |<wsedit target="{{#var:@id}}" template="Article" formfield="Featured" /> | {{#ifeq: {{CURRENTLOGGEDUSER}} |Margreeth Kloppenburg |<wsedit target="{{#var:@id}}" template="Article" formfield="Featured" /> | ||
+ | <div class="row">{{#ifeq:{{#caprint:$desc[Article][Featured]||noparse,nowiki}}|True|<span class="align-middle pl-3"><wsfield id="featured-article"type="checkbox" value="True" name="Featured" checked="checked" /></span> <wslabel for="featured-article">Uitgelicht artikel</wslabel>|<span class="align-middle"><wsfield id="featured-article" type="checkbox" value="True" name="Featured" /></span> <wslabel for="featured-article">Uitgelicht artikel</wslabel>}}</div>| }}<!-- | ||
+ | --><!-- | ||
+ | -->{{#ifeq: {{CURRENTLOGGEDUSER}} |Admin |<wsedit target="{{#var:@id}}" template="Article" formfield="Featured" /> | ||
<div class="row">{{#ifeq:{{#caprint:$desc[Article][Featured]||noparse,nowiki}}|True|<span class="align-middle pl-3"><wsfield id="featured-article"type="checkbox" value="True" name="Featured" checked="checked" /></span> <wslabel for="featured-article">Uitgelicht artikel</wslabel>|<span class="align-middle"><wsfield id="featured-article" type="checkbox" value="True" name="Featured" /></span> <wslabel for="featured-article">Uitgelicht artikel</wslabel>}}</div>| }}<!-- | <div class="row">{{#ifeq:{{#caprint:$desc[Article][Featured]||noparse,nowiki}}|True|<span class="align-middle pl-3"><wsfield id="featured-article"type="checkbox" value="True" name="Featured" checked="checked" /></span> <wslabel for="featured-article">Uitgelicht artikel</wslabel>|<span class="align-middle"><wsfield id="featured-article" type="checkbox" value="True" name="Featured" /></span> <wslabel for="featured-article">Uitgelicht artikel</wslabel>}}</div>| }}<!-- | ||
--> | --> |