fix: Fix some more underlined whitespace around links (#4053)

* fix: Fix some more underlined whitespace around links

* Another one

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
This commit is contained in:
Lars Eggert 2022-06-03 19:52:41 +03:00 committed by GitHub
parent 7dfb645678
commit 7f4a6c19fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 13 deletions

View file

@ -17,9 +17,7 @@
<div class="row">
<div class="col-3 text-end fw-bold">Charter</div>
<div class="col">
<a href="{{ doc.get_href }}" aria-label="Content">
<i class="bi bi-file-earmark-fill"></i>
</a>
<a href="{{ doc.get_href }}" aria-label="Content"><i class="bi bi-file-earmark-fill"></i></a>
<a href="{{ doc.get_absolute_url }}">{{ doc.name }}-({{ doc.rev }})</a>
</div>
</div>

View file

@ -10,9 +10,7 @@
<div class="col-3 text-end fw-bold">Conflict review</div>
<div class="col">
<div class="fw-bold">{{ doc.title }}</div>
<a href="{{ doc.get_href }}" aria-label="Content">
<i class="bi bi-file-earmark-fill"></i>
</a>
<a href="{{ doc.get_href }}" aria-label="Content"><i class="bi bi-file-earmark-fill"></i></a>
<a href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">{{ doc.canonical_name }}</a>
</div>
</div>

View file

@ -17,9 +17,7 @@
</div>
<div class="col">
{% with doc.rfc_number as rfc_number %}
<a href="{% if rfc_number %} https://www.rfc-editor.org/rfc/rfc{{ rfc_number }}/ {% else %} {{ doc.get_href }} {% endif %}" aria-label="Content">
<i class="bi bi-file-earmark-fill"></i>
</a>
<a href="{% if rfc_number %} https://www.rfc-editor.org/rfc/rfc{{ rfc_number }}/ {% else %} {{ doc.get_href }} {% endif %}" aria-label="Content"><i class="bi bi-file-earmark-fill"></i></a>
{% endwith %}
<a href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">{{ doc.canonical_name }}</a>
{% if doc.has_rfc_editor_note %}

View file

@ -1,7 +1,4 @@
{% if email and email == "system@datatracker.ietf.org" or name and name == "(System)" %}
<span class="text-muted">(System)</span>
{% else %}
<span {% if class %}class="{{ class }}"
{% if email and email == "system@datatracker.ietf.org" or name and name == "(System)" %}<span class="text-muted">(System)</span>{% else %}<span {% if class %}class="{{ class }}"
{% endif %}>{% if email or name %}<a {% if class %}class="text-reset"{% endif %}
title="{% if title %}{{ title }}{% else %}Datatracker profile of {{ name }}.{% endif %}"
{% if email %} href="{% url 'ietf.person.views.profile' email_or_name=email %}" {% else %} href="{% url 'ietf.person.views.profile' email_or_name=name %}" {% endif %}>{{ name }}</a>{% if email and with_email %} <a {% if class %}class="text-reset"{% endif %}