Fixing #88 properly on all themes

master
Mark Moffat 2019-10-29 18:23:48 +10:30
parent 0069014e80
commit 5a99d248ab
3 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@
</div> </div>
{{#ifCond page '!=' 'pay'}} {{#ifCond page '!=' 'pay'}}
<div class="text-right align-right col-xs-6 col s6"> <div class="text-right align-right col-xs-6 col s6">
{{#ifCond ../page '==' 'checkout'}} {{#ifCond @root.page '==' 'checkout'}}
<a href="/pay" class="btn btn-default">Pay now</a> <a href="/pay" class="btn btn-default">Pay now</a>
{{else}} {{else}}
<a href="/checkout" class="btn btn-default">Checkout</a> <a href="/checkout" class="btn btn-default">Checkout</a>

View File

@ -89,7 +89,7 @@
</div> </div>
{{#ifCond page '!=' 'pay'}} {{#ifCond page '!=' 'pay'}}
<div class="text-right align-right col s6"> <div class="text-right align-right col s6">
{{#ifCond page '==' 'checkout'}} {{#ifCond @root.page '==' 'checkout'}}
<a href="/pay" class="btn waves-effect waves-light blue darken-3">Pay now</a> <a href="/pay" class="btn waves-effect waves-light blue darken-3">Pay now</a>
{{else}} {{else}}
<a href="/checkout" class="btn waves-effect waves-light blue darken-3">Checkout</a> <a href="/checkout" class="btn waves-effect waves-light blue darken-3">Checkout</a>

View File

@ -89,7 +89,7 @@
</div> </div>
{{#ifCond page '!=' 'pay'}} {{#ifCond page '!=' 'pay'}}
<div class="text-right align-right col s6"> <div class="text-right align-right col s6">
{{#ifCond page '==' 'checkout'}} {{#ifCond @root.page '==' 'checkout'}}
<a href="/pay" class="btn waves-effect waves-light black">Pay now</a> <a href="/pay" class="btn waves-effect waves-light black">Pay now</a>
{{else}} {{else}}
<a href="/checkout" class="btn waves-effect waves-light black">Checkout</a> <a href="/checkout" class="btn waves-effect waves-light black">Checkout</a>