Fixed empty orders message

react_convert
Mark Moffat 2018-01-07 14:16:31 +01:00
parent 45c4a25bc6
commit 7400b4ffe1
2 changed files with 13 additions and 5 deletions

View File

@ -32,7 +32,7 @@
</div>
</div>
</div>
<div class="col-lg-12 top-pad-10">
<ul class="list-group">
<li class="list-group-item">
@ -42,6 +42,7 @@
<strong>Recent orders</strong>
{{/if}}
</li>
{{#if orders}}
{{#each orders}}
<li class="list-group-item">
<h4 class="pull-right" style="padding-left: 10px;">
@ -53,6 +54,13 @@
</h5>
</li>
{{/each}}
{{else}}
<li class="list-group-item">
<h4 class="text-center">
No orders found
</h4>
</li>
{{/if}}
</ul>
</div>
</div>
</div>

View File

@ -3,12 +3,12 @@
<div class="row">
<div class="col-md-10">
<form method="post" id="settingsForm" action="/admin/settings/update" data-toggle="validator">
<h2 class="clearfix">General Settings <div class="pull-right"><button type="submit" id="btnSettingsUpdate" class="btn btn-success">Update</button></h2>
<h2 class="clearfix">General Settings <div class="pull-right"><button type="submit" id="btnSettingsUpdate" class="btn btn-success">Update</button></h2>
<div class="form-group">
<label>Cart name *</label>
<input type="text" class="form-control" name="cartTitle" value="{{config.cartTitle}}" required>
<p class="help-block">
This element is critical for search engine optimisation. Cart title is displayed if your logo is hidden.
This element is critical for search engine optimisation. Cart title is displayed if your logo is hidden.
</p>
</div>
<div class="form-group">
@ -83,7 +83,7 @@
<div class="checkbox">
<label><input class="settingsMenuEnabled" type="checkbox" {{checkedState config.menuEnabled}} id="menuEnabled" name="menuEnabled"></label>
</div>
<p class="help-block">If a menu is set (<a href="/admin/settings/menu">here</a>) you can enable it.</p>
<p class="help-block">If a menu is set you can set it up <a href="/admin/settings/menu">here</a>.</p>
</div>
<div class="form-group">
<label>Menu header</label>