PortableInfobox/templates/PortableInfoboxMarkupDebug.hbs

18 lines
452 B
Handlebars
Raw Normal View History

<p class="pi-error-info">{{info}}</p>
<ul class="pi-debug">
2018-08-08 09:31:33 +00:00
{{#each code}}
2015-06-10 15:16:46 +00:00
<li>
2018-08-08 09:31:33 +00:00
<div class="pi-debug-line{{#if error}} error{{/if}}">
<div class="pi-debug-line-number">{{line}}</div>
<div class="pi-debug-line-code">{{codeLine}}</div>
2015-06-10 15:16:46 +00:00
</div>
2018-08-08 09:31:33 +00:00
{{#if error}}
2015-07-31 11:04:59 +00:00
<div class="pi-debug-error-message">
2018-08-08 09:31:33 +00:00
{{#each error_messages}}
2015-07-31 11:04:59 +00:00
<p class="pi-debug-error-message-item">{{{message}}}</p>
2018-08-08 09:31:33 +00:00
{{/each}}
2015-06-10 15:16:46 +00:00
</div>
2018-08-08 09:31:33 +00:00
{{/if}}
2015-06-10 15:16:46 +00:00
</li>
2018-08-08 09:31:33 +00:00
{{/each}}
</ul>