Skip to content

Commit b920641

Browse files
committed
Summary: Make the Updates IPR section look more like the form
- Legacy-Id: 8929
1 parent 842160c commit b920641

1 file changed

Lines changed: 22 additions & 18 deletions

File tree

ietf/templates/ipr/details_view.html

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,6 @@ <h1>IPR Details<br><small>{{ ipr.title }}</small></h1>
6666
of the original IPR disclosure.</p>
6767
{% endif %}
6868

69-
{% if updates_iprs %}
70-
<h2>Updates</h2>
71-
72-
{% for item in updates_iprs %}
73-
<p>This IPR disclosure updates IPR disclosure ID #{{ item.target.id }},
74-
{% if item.target.state.slug == "removed" %}
75-
"{{ item.target.title }}", which was removed at the request of the submitter.
76-
{% else %}
77-
"<a href="{% url "ietf.ipr.views.show" id=item.target.id %}">{{ item.target.title }}</a>".
78-
79-
{% endif %}
80-
</p>
81-
{% endfor %}
82-
{% endif %}
83-
8469
{% if updated_by_iprs %}
8570
<h2>Updated by</h2>
8671

@@ -92,6 +77,25 @@ <h2>Updated by</h2>
9277
{% endfor %}
9378
{% endif %}
9479

80+
{% if updates_iprs %}
81+
<h2>Updates</h2>
82+
83+
<dl class="dl-horizontal">
84+
<dt>Updates</dt>
85+
<dd>
86+
{% for item in updates_iprs %}
87+
<div>
88+
IPR Disclosure ID #{{ item.target.id }},
89+
{% if item.target.state.slug == "removed" %}
90+
"{{ item.target.title }}" (which was removed at the request of the submitter)
91+
{% else %}
92+
"<a href="{% url "ietf.ipr.views.show" id=item.target.id %}">{{ item.target.title }}</a>"
93+
{% endif %}
94+
</div>
95+
{% endfor %}
96+
</dl>
97+
{% endif %}
98+
9599
{% if user|has_role:"Secretariat" and ipr.update_notified_date %}
96100
<div class="alert alert-info">This update was notified to the submitter of the IPR that is being updated on: {{ ipr.update_notified_date|date:"Y-m-d" }}</div>
97101
{% endif %}
@@ -169,15 +173,15 @@ <h2>{% cycle section %}. Disclosure of Patent Information <small>i.e., patents o
169173
<p>A. For granted patents or published pending patent applications, please provide the following information:</p>
170174

171175
<dl class="dl-horizontal">
172-
<dt>Patent, Serial, Publication, Registration, or Application/File number(s):</dt>
176+
<dt>Patent, Serial, Publication, Registration, or Application/File number(s)</dt>
173177
<dd>{{ ipr.patent_info|linebreaks }}</dd>
174178
</dl>
175179

176180
<p>B. Does this disclosure relate to an unpublished pending patent application?:</p>
177181

178182
<dl class="dl-horizontal">
179-
<dt>Has patent pending:</dt>
180-
<dd>{{ ipr.has_patent_pending|yesno }}</dd>
183+
<dt>Has patent pending</dt>
184+
<dd>{{ ipr.has_patent_pending|yesno:"Yes,No" }}</dd>
181185
</dl>
182186
{% endif %}
183187

0 commit comments

Comments
 (0)