{{! Part of deployBase }}
<header class='detail-header'>
    <div class="row">
        <div class="col-md-8">
            <h5>
                <span>
                    Request <a href="{{appRoot}}/request/{{ data.requestId }}">{{ data.requestId }}</a>
                </span>
            </h5>
        </div>
        {{! Right side, buttons }}
        <div class="col-md-4 button-container">
            <a class="btn btn-default" data-request-id="{{ data.id }}" data-action="viewObjectJSON">
                JSON
            </a>
        </div>
    </div>

    <div class="row">
        <div class="col-md-8">
            <h3>
                <span>
                    {{ data.deployId }}
                </span>
                <span class="deploy-state" data-state="{{ data.deployResult.deployState }}">
                    {{ data.deployResult.deployState }}
                </span>
            </h3>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="well text-muted">
                {{ data.deployResult.message }}
            </div>
        </div>
    </div>
</header>

{{! Part of deployBase }}
<header class='detail-header'>
    <div class="row">
        <div class="col-md-8">
            <h5>
                <span>
                    Request <a href="{{appRoot}}/request/{{ data.requestId }}">{{ data.requestId }}</a>
                </span>
            </h5>
        </div>
        {{! Right side, buttons }}
        <div class="col-md-4 button-container">
            <a class="btn btn-default" data-request-id="{{ data.id }}" data-action="viewObjectJSON">
                JSON
            </a>
        </div>
    </div>

    <div class="row">
        <div class="col-md-8">
            <h3>
                <span>
                    {{ data.deployId }}
                </span>
                <span class="deploy-state" data-state="{{ data.deployResult.deployState }}">
                    {{ data.deployResult.deployState }}
                </span>
            </h3>
        </div>
    </div>
    {{#if data.deployResult.message}}
        <div class="row">
            <div class="col-md-12">
                <div class="well text-muted">
                    {{ data.deployResult.message }}
                </div>
            </div>
        </div>
    {{/if}}
</header>

Hide the well if no message
Hide the well if no message
