mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
fix: Empty states and miscellanous fixes
- Added Wishlist and Product Listing empty states - Hide ‘Write Review’ button f user is not Customer - Fixed grid view title (missing arg) - Render empty state if no items form server side - Removed unused function - Guest user redirected to login on clicking Wishlist button - Fixed ‘Notes’ field clearing issue
This commit is contained in:
@@ -17,8 +17,12 @@
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<!-- TODO: Make empty state for wishlist -->
|
||||
{% include "erpnext/www/all-products/not_found.html" %}
|
||||
<div class="cart-empty frappe-card">
|
||||
<div class="cart-empty-state">
|
||||
<img src="/assets/erpnext/images/ui-states/cart-empty-state.png" alt="Empty Cart">
|
||||
</div>
|
||||
<div class="cart-empty-message mt-4">{{ _('Wishlist is empty!') }}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user