<a class="button flat icon gray" href="#"  onclick="PublishBrief_ajaxLink()">
    <i class="zmdi zmdi-link"></i>
</a>
<a class="button flat icon gray" href="#" onclick="Upload_ajaxRequest()">
    <i class="zmdi zmdi-upload"></i>
</a>


<a class="button flat icon gray" href="#"  onclick="PublishBrief_ajaxLink()">
    <i class="zmdi zmdi-link"></i>
</a>
{if="$c->supported('upload')"}
<a class="button flat icon gray" href="#" onclick="Upload_ajaxRequest()">
    <i class="zmdi zmdi-upload"></i>
</a>
{/if}

Hide the upload button if not available
Hide the upload button if not available
