Skip to content

Commit

Permalink
Added link tags to contact info (#588)
Browse files Browse the repository at this point in the history
* Added link tags to contact info

* fix allauth incompatibility with setuptools

Ref: pennersr/django-allauth#3063
  • Loading branch information
marcorichetta authored Oct 3, 2024
1 parent cddeec6 commit 605e3f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions joboffers/templates/joboffers/joboffer_overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ <h4 class="mt-0">
{% if obj.contact_mail %}
<li>
<span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
{{ obj.contact_mail }}
<a href="mailto:{{ object.contact_mail }}" target="_blank" rel="noopener noreferrer">{{ object.contact_mail }}</a>
</li>
{% endif %}
{% if obj.contact_url %}
<li>
<span class="glyphicon glyphicon-link" aria-hidden="true"></span>
{{ object.contact_url }}
<a href="{{ object.contact_url }}" target="_blank" rel="noopener noreferrer">{{ object.contact_url }}</a>
</li>
{% endif %}
{% if obj.contact_phone %}
<li>
<span class="glyphicon glyphicon-earphone" aria-hidden="true"></span>
{{ object.contact_phone }}
<a href="tel:{{ object.contact_phone }}" target="_blank" rel="noopener noreferrer">{{ object.contact_phone }}</a>
</li>
{% endif %}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bleach==4.1.0 # Pinning bleach until this issue is resolved: https://github.com/marksweb/django-bleach/issues/51
Django==3.2.19
django-allauth==0.45.0
django-allauth==0.50.0
django-autoslug==1.9.8
django-bootstrap3==21.1
django-braces==1.15.0
Expand Down

0 comments on commit 605e3f8

Please sign in to comment.