Commit f861388e authored by Aaron Harder's avatar Aaron Harder

Edit page: Add support for “placeholder stub” in component title display (used with bl/develop).

parent 128fe356
......@@ -68,13 +68,17 @@
{{/if}}
<div class="collapsible-header blue accent-2 {{#unless startClosed}}active{{/unless}} white-text" style="padding:1rem;">
{{#if pageTitle}}
<h5 style="margin:0;" class="white-text"><span class="" style="color: #eee!important; margin-right:12px;">{{@component.title}}:</span>
{{pageTitle}}
{{else}}
<h5 class="white-text" style="margin:0;">{{@component.title}}</h5>
{{/if}}
<h5 style="margin:0;" class="white-text">
{{#if bl:placeholderStub}}
<i class="material-icons left yellow-text tooltipped" data-tooltip="Component does not yet exist." style="margin-right: -2px;top: -8px;position: relative;left: -6px;">new_releases</i>
{{/if}}
{{#if pageTitle}}
<span class="" style="color: #eee!important; margin-right:12px;">{{@component.title}}:</span>
{{pageTitle}}
{{else}}
{{@component.title}}
{{/if}}
</h5>
</div>
<div class="collapsible-body" style="background-color:#fafafa;">
{{> page.component-body bl:key=@component.key bl:fromTopLevel=true}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment