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

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

View File

@ -83,7 +83,7 @@
<div class="checkbox"> <div class="checkbox">
<label><input class="settingsMenuEnabled" type="checkbox" {{checkedState config.menuEnabled}} id="menuEnabled" name="menuEnabled"></label> <label><input class="settingsMenuEnabled" type="checkbox" {{checkedState config.menuEnabled}} id="menuEnabled" name="menuEnabled"></label>
</div> </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>
<div class="form-group"> <div class="form-group">
<label>Menu header</label> <label>Menu header</label>