prevent deleting coverage for published resource
<div class="col-xs-4 col-md-2">
<h4>Spatial:</h4>
</div>
+ {% if not cm.raccess.published %}
<div class="col-xs-8 col-md-10">
<a id="id-delete-spatial-resource" type="button" class="pull-left">
<span class="glyphicon glyphicon-trash icon-button btn-remove"></span>
</a>
</div>
+ {% endif %}
</div>
</div>
<div class="col-xs-12">
<div class="row space-top">
<div class="col-xs-4 col-md-2">
- <h4>Temporal:</h4></div>
+ <h4>Temporal:</h4>
+ </div>
+ {% if not cm.raccess.published %}
<div class="col-xs-8 col-md-10">
<a id="id-delete-temporal-resource" type="button" class="pull-left">
<span class="glyphicon glyphicon-trash icon-button btn-remove"></span>
</a>
</div>
+ {% endif %}
</div>
</div>
<div class="form-group col-xs-12 col-sm-6 content-block" id="coverage-temporal">
