Edit Dashboard's photo and Add Bread Crumb Name
This commit is contained in:
@@ -27,12 +27,10 @@
|
||||
<img src="<%= asset_path('SX-Logo-small.png') %>" width="40" height="40" alt="Logo" />
|
||||
<span class="navbar-brand-txt">SX Restaurant</span>
|
||||
</a>
|
||||
<% if @payment_method_setting_nav.present? %>
|
||||
<span class="navbar-brand m-0">/
|
||||
<span id="otherPayment"></span> Payment
|
||||
</span>
|
||||
<% end %>
|
||||
|
||||
|
||||
<span class="navbar-brand m-0">/
|
||||
<span id="others_payment"></span>
|
||||
</span>
|
||||
</div>
|
||||
<!-- Start Shop Info -->
|
||||
<div class="navbar-right">
|
||||
@@ -83,11 +81,6 @@
|
||||
</nav>
|
||||
|
||||
<script type="text/javascript">
|
||||
if((document.getElementById("otherPayment")!=undefined) && (document.getElementById("otherPayment")!=null) && (document.getElementById("otherPayment")!="")){
|
||||
var otherPayment = location.href.split('/')[location.href.split('/').length -1 ];
|
||||
document.getElementById("otherPayment").innerHTML = otherPayment;
|
||||
}
|
||||
|
||||
$(function(){
|
||||
$('.delete').click(function(){
|
||||
var method = $(this).attr('data-method');
|
||||
|
||||
Reference in New Issue
Block a user