Skip to content
Snippets Groups Projects
Commit b697e855 authored by sks444's avatar sks444
Browse files

Fix project detail page to show info from vendor

parent 63e2996e
No related branches found
No related tags found
No related merge requests found
...@@ -92,13 +92,13 @@ ...@@ -92,13 +92,13 @@
<div> <div>
<h5>Legal name</h5> <h5>Legal name</h5>
<p>{{ object.contact_legal_name|default:"-" }}</p> <p>{{ object.vendor.name |default:"-" }}</p>
</div> </div>
<div> <div>
<h5>Email</h5> <h5>Email</h5>
{% if object.contact_email %} {% if object.vendor.user.email %}
<a href="mailto:{{ object.contact_email }}">{{ object.contact_email }}</a> <a href="mailto:{{ object.vendor.user.email }}">{{ object.vendor.user.email }}</a>
{% else %} {% else %}
- -
{% endif %} {% endif %}
...@@ -110,12 +110,12 @@ ...@@ -110,12 +110,12 @@
<div class="rich-text--hidden js-rich-text-hidden"> <div class="rich-text--hidden js-rich-text-hidden">
<div> <div>
<h5>Address</h5> <h5>Address</h5>
<p>{{ object.get_address_display|default:"-"}}</p> <p>{{ object.vendor.get_address_display|default:"-"}}</p>
</div> </div>
<div> <div>
<h5>Phone</h5> <h5>Phone</h5>
<p>{{ object.phone|default:"-" }}</p> <p>{{ object.vendor.phone|default:"-" }}</p>
</div> </div>
<div> <div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment