<% if(typeof iconBeforeText === 'undefined'){ 
    iconBeforeText = false
}%>

<a class="lock_mbl_call_btn" href="tel:<%= phoneNr %>" onClick="saveCallBtnClick('in_page');">
    <button class="btn keys_secondary_bg di_clr_w">
        <% if(iconBeforeText){ %>
            <img class="di_size_25px" style="margin-top: -5px; margin-right: 5px;" src ="/img/icons/phone_w.svg"/>
        <% } %>
        <span><%= text %></span> 
        <% if(!iconBeforeText){ %>
            <img class="di_size_25px" style="margin-top: -5px; -webkit-transform: scaleX(-1); transform: scaleX(-1);" src ="/img/icons/phone_w.svg"/>
        <% } %>
    </button>
</a>