Skip to content

Commit 43ae8b8

Browse files
committed
Fix the broken link for substate reported in adamlaska#109. Also use the idinternal
object's state-number fields instead of fetching the related row and then using the ID field. - Legacy-Id: 564
1 parent 91fbd02 commit 43ae8b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/templates/idtracker/idinternal_detail.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@
142142

143143
<td>
144144
<div class="largefont3">
145-
<a href="/idtracker/states/{{ object.cur_state.document_state_id }}/">
145+
<a href="/idtracker/states/{{ object.cur_state_id }}/">
146146
{{ object.cur_state }}</a>
147147
{% if object.cur_sub_state %}
148148
::
149-
<a href="/idtracker/states/sub_state/{{ object.cur_substate.sub_state_id }}/">
149+
<a href="/idtracker/states/substate/{{ object.cur_sub_state_id }}/">
150150
{{ object.cur_sub_state }}
151151
</a>
152152
{% endif %}

0 commit comments

Comments
 (0)