Skip to content

Commit c78ce72

Browse files
committed
Added javascript redirect for /drafts/draft-foo-bar/ page
- Legacy-Id: 1973
1 parent 2733e92 commit c78ce72

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ietf/templates/idindex/internetdraft_detail.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
{% block title %}Internet Draft Database Index - {{ object.filename }}{% endblock %}
55

66
{% block iddbcontent %}
7+
<script type="text/javascript">
8+
//<![CDATA[
9+
if (location.href.indexOf("#old") < 0) { window.location="/doc/{{object.filename}}/"; }
10+
//]]>
11+
</script>
12+
713
<hr>
814
<h2>{{ object.filename }}-{{ object.revision_display }}</h2>
915
<blockquote>

0 commit comments

Comments
 (0)