Sjabloon:Related portals: verschil tussen versies
Uit Auditpedia
Regel 18: | Regel 18: | ||
<div class="card-body related-portals" style="text-align: center;"> | <div class="card-body related-portals" style="text-align: center;"> | ||
<div class="tab-content"> | <div class="tab-content"> | ||
+ | {{#if: {{CURRENTLOGGEDUSER}} | | ||
<div class="tab-pane active" id="related-portal-view-tab"> | <div class="tab-pane active" id="related-portal-view-tab"> | ||
{{Section title |Title= |Formlink new={{#widget:Button link |href=#related-portal-form-tab |datatoggle=tab |class=btn btn-default |buttontext={{int: ws-edit}} }} }}<!-- end Section title --> | {{Section title |Title= |Formlink new={{#widget:Button link |href=#related-portal-form-tab |datatoggle=tab |class=btn btn-default |buttontext={{int: ws-edit}} }} }}<!-- end Section title --> | ||
Regel 35: | Regel 36: | ||
</wsform> | </wsform> | ||
</div> | </div> | ||
+ | | <div class="tab-content"> | ||
+ | {{#if: {{CURRENTLOGGEDUSER}} | | ||
+ | <div class="tab-pane active" id="related-portal-view-tab"> | ||
+ | {{#if: {{{Related portal|}}} | ||
+ | | {{#arraymap:{{{Related portal|}}}|,|x|[[x]]}} | ||
+ | | }} | ||
+ | </div> | ||
+ | }} | ||
</div> | </div> | ||
</div> | </div> |
Versie van 30 nov 2020 14:38
This is the "Related portals" template. It should be called in the following format:
{{Related portals |Title= |Related portal= }}
Edit the page to see the template text.