File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ class IprDetail(models.Model):
111111 update_notified_date = models .DateField (null = True , blank = True )
112112
113113 def __str__ (self ):
114- return self .document_title
114+ return self .title
115115 def get_absolute_url (self ):
116116 return "/ipr/ipr-%s" % self .ipr_id
117117 class Meta :
Original file line number Diff line number Diff line change @@ -177,13 +177,13 @@ def clean_submitter(self):
177177 data ["comply" ] = "1"
178178
179179 if type == "general" :
180- data ["document_title " ] = """%(legal_name)s's General License Statement""" % data
180+ data ["title " ] = """%(legal_name)s's General License Statement""" % data
181181 if type == "specific" :
182182 data ["ipr_summary" ] = get_ipr_summary (data )
183- data ["document_title " ] = """%(legal_name)s's Statement about IPR related to %(ipr_summary)s""" % data
183+ data ["title " ] = """%(legal_name)s's Statement about IPR related to %(ipr_summary)s""" % data
184184 if type == "third-party" :
185185 data ["ipr_summary" ] = get_ipr_summary (data )
186- data ["document_title " ] = """%(submitter)s's Statement about IPR related to %(ipr_summary)s belonging to %(legal_name)s""" % data
186+ data ["title " ] = """%(submitter)s's Statement about IPR related to %(ipr_summary)s belonging to %(legal_name)s""" % data
187187
188188 for src in ["hold" , "ietf" ]:
189189 if "%s_contact_is_submitter" % src in data :
Original file line number Diff line number Diff line change 1414 < table cellpadding =0 cellspacing =0 border =0 >
1515 < tr >
1616 < td width ="720 " align ="center ">
17- < h3 > {{ ipr.document_title }}</ h3 >
17+ < h3 > {{ ipr.title }}</ h3 >
1818 </ td >
1919 </ tr >
2020 </ table >
@@ -54,9 +54,9 @@ <h3>{{ ipr.document_title }}</h3>
5454 < br >
5555 This IPR disclosure updates IPR disclosure ID #{{ item.updated.ipr_id }},
5656 {% ifequal item.status_to_be 1 %}
57- "< a href ="{% url ietf.ipr.views.show item.updated.ipr_id %} "> {{ item.updated.document_title }}</ a > ".
57+ "< a href ="{% url ietf.ipr.views.show item.updated.ipr_id %} "> {{ item.updated.title }}</ a > ".
5858 {% else %}
59- "{{ item.updated.document_title }}", which was removed at the request of the submitter.
59+ "{{ item.updated.title }}", which was removed at the request of the submitter.
6060 {% endifequal %}
6161 < br >
6262 </ font >
@@ -68,9 +68,9 @@ <h3>{{ ipr.document_title }}</h3>
6868 < br >
6969 This IPR disclosure has been updated by IPR disclosure ID #{{ item.ipr.ipr_id }},
7070 {% ifequal item.status_to_be 1 %}
71- "< a href ="{% url ietf.ipr.views.show item.ipr.ipr_id %} "> {{ item.ipr.document_title }}</ a > ".
71+ "< a href ="{% url ietf.ipr.views.show item.ipr.ipr_id %} "> {{ item.ipr.title }}</ a > ".
7272 {% else %}
73- "{{ item.ipr.document_title }}", which was removed at the request of the submitter.
73+ "{{ item.ipr.title }}", which was removed at the request of the submitter.
7474 {% endifequal %}
7575 < br >
7676 </ font >
Original file line number Diff line number Diff line change 33 < td align ="right "> {{ ipr.ipr_id }}</ td >
44 < td >
55 {% ifequal ipr.status 1 %}
6- < a href ="{% url ietf.ipr.views.show ipr.ipr_id %} "> {{ ipr.document_title }}</ a >
6+ < a href ="{% url ietf.ipr.views.show ipr.ipr_id %} "> {{ ipr.title }}</ a >
77 {% else %}
8- {{ ipr.document_title }}
8+ {{ ipr.title }}
99 < br > This IPR disclosure was removed at the request of the submitter.
1010 {% endifequal %}
1111 < br />
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ <h2>IPR Disclosures</h2></center>
1616 < tr valign ="top " bgcolor ="#dadada ">
1717 < td width ="100 "> {{ ipr.submitted_date }}</ td >
1818 < td width ="90 "> < li > ID # {{ ipr.ipr_id }}</ li > </ td >
19- < td > < a href ="{% url ietf.ipr.views.show ipr_id=ipr.ipr_id %} "> "{{ ipr.document_title }}"</ a > </ td >
19+ < td > < a href ="{% url ietf.ipr.views.show ipr_id=ipr.ipr_id %} "> "{{ ipr.title }}"</ a > </ td >
2020 </ tr >
2121 {% endfor %}
2222
@@ -34,7 +34,7 @@ <h2>IPR Disclosures</h2></center>
3434 < tr valign ="top ">
3535 < td width ="100 "> {{ ipr.submitted_date }}</ td >
3636 < td width ="90 "> < li > ID # {{ ipr.ipr_id }}</ li > </ td >
37- < td > < a href ="{% url ietf.ipr.views.show %}{{ ipr.ipr_id }} "> "{{ ipr.document_title }}"</ a > </ td >
37+ < td > < a href ="{% url ietf.ipr.views.show %}{{ ipr.ipr_id }} "> "{{ ipr.title }}"</ a > </ td >
3838 </ tr >
3939 {% endfor %}
4040 {% else %}
You can’t perform that action at this time.
0 commit comments