REFACTOR: Changed blueprints to allow for preprocessing of requests
This commit is contained in:
@ -19,8 +19,8 @@
|
||||
{% if user.role == "Seller" %}
|
||||
<div class="categories">
|
||||
{# List all available Seller tools #}
|
||||
<a href="{{ url_for('main.products.display_add') }}" class="category">Create Products</a>
|
||||
<a href="{{ url_for('main.products.display_own') }}" class="category">View My Products</a>
|
||||
<a href="{{ url_for('main.seller.display_add') }}" class="category">Create Products</a>
|
||||
<a href="{{ url_for('main.seller.display_own') }}" class="category">View My Products</a>
|
||||
<a href="{{ url_for('main.stats.index') }}" class="category">View Seller Stats</a>
|
||||
</div>
|
||||
{% elif user.role == "Admin" %}
|
||||
|
Reference in New Issue
Block a user