Sjabloon:Bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 18: Regel 18:
 
  --></div><!--
 
  --></div><!--
 
  --><div class="grid-lijst"><!--  
 
  --><div class="grid-lijst"><!--  
   -->{{#ifeq:{{#urlget:mode}}|edit|<div class="upload-wrapper"><!--
+
   -->{{#ifeq:{{#urlget:mode}}|edit| |<div><b>Aanvullende informatie:</b></div><!--  
--><!--
 
-->{{#if:{{{Files|}}}|  {{#camap:@images|@@@|<!--
 
--><div class="upload-group">{{#ifeq:@@@[Type][fulltext]|Pdf|<h2 class="w-100 rs-border text-center pt-3 pb-3">{{fa|file-pdf}} </h2>|[[@@@[catitle]]]}}<div class="d-flex"><div class="w-100">@@@[Caption]</div>{{#tag:wsfield|{{fa|times}}|type=button|class=btn|onclick=removeFile(this, '@@@[catitle]')}}{{#ifeq:@@@[Type][fulltext]|Pdf||{{#tag:wsfield||id=@@@[catitle]|type=radio|name=Image|class=d-none|value=@@@[catitle]|checked={{#ifeq:@@@[catitle]|Bestand:{{{Image|}}}|checked|{{#ifeq:@@@[catitle]|{{{Image|}}}|checked}} }} }}{{#tag:wslabel|<i class="fa fa-star btn ml-0"></i>|for=@@@[catitle]}} }}</div></div><!--
 
-->|}} }}<!--
 
--><!--
 
-->{{#Widget:Multi upload bericht}}<!--
 
--></div>|<div><b>Aanvullende informatie:</b></div><!--  
 
 
  --><ul>{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|?Caption|?Type|link=none|format=complexarray|name=@images }}{{#camap:@images|@@@|{{#switch:@@@[Type][fulltext]|Pdf=<li class="red">{{#widget:link|type=a|text={{#if:@@@[Caption]|@@@[Caption]|@@@[catitle]}}|target=blank|href={{filepath:{{#replace:@@@[catitle]|Bestand:|}} }} |class=red}}</li>}} |}} </ul><!--  
 
  --><ul>{{#ask:[[Class::Bericht file]][[Page::{{FULLPAGENAME}}]]|?Caption|?Type|link=none|format=complexarray|name=@images }}{{#camap:@images|@@@|{{#switch:@@@[Type][fulltext]|Pdf=<li class="red">{{#widget:link|type=a|text={{#if:@@@[Caption]|@@@[Caption]|@@@[catitle]}}|target=blank|href={{filepath:{{#replace:@@@[catitle]|Bestand:|}} }} |class=red}}</li>}} |}} </ul><!--  
 
  --></div>}}<!--  
 
  --></div>}}<!--  

Versie van 6 nov 2020 09:00

Aanvullende informatie: