here we go

This commit is contained in:
pacnpal
2024-10-31 22:32:01 +00:00
parent c52f14e700
commit 80a9d61ca2
68 changed files with 3114 additions and 1485 deletions

View File

@@ -16,12 +16,19 @@
</p>
{% endif %}
</div>
{% if manufacturer.website %}
<a href="{{ manufacturer.website }}" target="_blank" rel="noopener noreferrer"
class="mt-4 btn-secondary md:mt-0">
<i class="mr-2 fas fa-external-link-alt"></i>Visit Website
</a>
{% endif %}
<div class="flex gap-2 mt-4 md:mt-0">
{% if manufacturer.website %}
<a href="{{ manufacturer.website }}" target="_blank" rel="noopener noreferrer"
class="btn-secondary">
<i class="mr-2 fas fa-external-link-alt"></i>Visit Website
</a>
{% endif %}
{% if user.is_authenticated %}
<a href="{% url 'companies:manufacturer_edit' slug=manufacturer.slug %}" class="btn-secondary">
<i class="mr-2 fas fa-edit"></i>Edit
</a>
{% endif %}
</div>
</div>
{% if manufacturer.description %}