Skip to content

Commit

Permalink
refactor: Add website link to company name in company_detail.html
Browse files Browse the repository at this point in the history
The company_detail.html template has been updated to include a website link for the company name. This change enhances the user experience by allowing users to easily access the company's website directly from the company detail page.
  • Loading branch information
QA2A committed Sep 4, 2024
1 parent b4a0c70 commit 5602b67
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions website/templates/company_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@
height="30px;">
{% endif %}
{{ company.name }}
{% if company.website %}

</a>
{% if company.website %}
<a href="{{ company.website }}" target="_blank" rel="noopener noreferrer" style="color: black; text-decoration: none;">
<i class="fas fa-external-link-alt" style="font-size:30px;"></i>
{% endif %}
</a>
{% endif %}


{% if user.is_superuser %}
Expand Down

0 comments on commit 5602b67

Please sign in to comment.