mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
added senior official
This commit is contained in:
parent
9349676728
commit
1a2d56e88b
3 changed files with 13 additions and 4 deletions
|
@ -1401,3 +1401,12 @@ class DomainRequest(TimeStampedModel):
|
|||
if self.portfolio:
|
||||
return self.portfolio.urbanization
|
||||
return self.urbanization
|
||||
|
||||
@property
|
||||
def converted_senior_official(self):
|
||||
if self.portfolio:
|
||||
return self.portfolio.senior_official
|
||||
else:
|
||||
return self.senior_official
|
||||
|
||||
|
|
@ -181,8 +181,8 @@
|
|||
{% include "includes/summary_item.html" with title='About your organization' value=DomainRequest.about_your_organization heading_level=heading_level %}
|
||||
{% endif %}
|
||||
|
||||
{% if DomainRequest.senior_official %}
|
||||
{% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.senior_official contact='true' heading_level=heading_level %}
|
||||
{% if DomainRequest.converted_senior_official %}
|
||||
{% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.converted_senior_official contact='true' heading_level=heading_level %}
|
||||
{% endif %}
|
||||
|
||||
{% if DomainRequest.current_websites.all %}
|
||||
|
|
|
@ -181,8 +181,8 @@
|
|||
{% include "includes/summary_item.html" with title='About your organization' value=DomainRequest.about_your_organization heading_level=heading_level %}
|
||||
{% endif %}
|
||||
|
||||
{% if DomainRequest.senior_official %}
|
||||
{% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.senior_official contact='true' heading_level=heading_level %}
|
||||
{% if DomainRequest.converted_senior_official %}
|
||||
{% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.converted_senior_official contact='true' heading_level=heading_level %}
|
||||
{% endif %}
|
||||
|
||||
{% if DomainRequest.current_websites.all %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue