Show comments feed link only if it exists (=document is in IDInternal)

- Legacy-Id: 2184
This commit is contained in:
Pasi Eronen 2010-03-21 19:37:04 +00:00
parent bb1bed06b7
commit cd00ca2526
2 changed files with 3 additions and 1 deletions

View file

@ -52,7 +52,9 @@ div.diffTool { padding: 8px 4px; margin: 8px 0;}
{% endblock %}
{% block pagehead %}
{% if doc.in_ietf_process %}
<link rel="alternate" type="application/atom+xml" href="/feed/comments/{% if info.is_rfc %}rfc{{doc.rfc_number}}{% else %}{{doc.draft_name}}{% endif %}/" />
{% endif %}
<meta name="description" content="{% block doc_meta_description %}{% endblock %}" />
{% endblock %}

View file

@ -76,7 +76,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| <a href="/ipr/search/?option=document_search&amp;id_document_tag={{doc.tracker_id}}" rel="nofollow">IPR Disclosures</a>
| <a href="http://www.fenron.net/~fenner/ietf/deps/index.cgi?dep={{doc.draft_name}}" rel="nofollow">Dependencies to this draft</a>
| <a href="http://tools.ietf.org/idnits?url=http://tools.ietf.org/id/{{doc.draft_name_and_revision}}.txt" rel="nofollow" target="_blank">Check nits</a>
| <a href="/feed/comments/{% if info.is_rfc %}rfc{{doc.rfc_number}}{% else %}{{doc.draft_name}}{% endif %}/" />Comments feed</a>
{% if doc.in_ietf_process %}| <a href="/feed/comments/{% if info.is_rfc %}rfc{{doc.rfc_number}}{% else %}{{doc.draft_name}}{% endif %}/" />Comments feed</a>{% endif %}
{% endblock %}
{% block doc_text1 %}