File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ def test_admin_pending(self):
435435 r = self .client .get (url )
436436 self .assertEqual (r .status_code ,200 )
437437 q = PyQuery (r .content )
438- x = len (q ('table#pending-iprs tr' )) - 1 # minus header
438+ x = len (q ('table.ipr-table tbody tr' ))
439439 self .assertEqual (num ,x )
440440
441441 def test_admin_removed (self ):
@@ -452,7 +452,7 @@ def test_admin_removed(self):
452452 r = self .client .get (url )
453453 self .assertEqual (r .status_code ,200 )
454454 q = PyQuery (r .content )
455- x = len (q ('table#removed-iprs tr' )) - 1 # minus header
455+ x = len (q ('table.ipr-table tbody tr' ))
456456 self .assertEqual (num ,x )
457457
458458 def test_admin_parked (self ):
Original file line number Diff line number Diff line change 11{% load ietf_filters %}
2- < table class ="table table-condensed table-striped ">
2+ < table class ="table table-condensed table-striped ipr-table ">
33 < thead >
44 < tr >
5- < th class =" date-column " > Date</ th >
6- < th class =" id-column " > ID</ th >
7- < th class =" title-column " > Title</ th >
5+ < th > Date</ th >
6+ < th > ID</ th >
7+ < th > Title</ th >
88 {% if administrative_list == 'pending' %}
99 < th > Query</ th >
1010 < th > Response Due</ th >
1414 < tbody >
1515 {% for ipr in iprs %}
1616 < tr >
17- < td class ="date-column text-nowrap "> {{ ipr.time|date:"Y-m-d" }}</ td >
18- < td class =" id-column nowrap " > {{ ipr.id }}</ td >
19- < td class =" title-column " >
17+ < td class ="text-nowrap "> {{ ipr.time|date:"Y-m-d" }}</ td >
18+ < td > {{ ipr.id }}</ td >
19+ < td >
2020 {% if ipr.state_id == 'posted' or administrative_list %}
2121 < div > < a href ="{% url "ietf.ipr.views.show " ipr.id %}"> {{ ipr.title }}</ a > </ div >
2222 {% else %}
You can’t perform that action at this time.
0 commit comments