Skip to content

Commit

Permalink
fix: Spacing issues and colorization in conflict review display (#3882)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Giard <[email protected]>
  • Loading branch information
larseggert and NGPixel authored Apr 26, 2022
1 parent 0dec52f commit 955d9ac
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions ietf/templates/doc/document_conflict_review.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
<td class="edit"></td>
<td>
<a href="{% url "ietf.doc.views_doc.document_main" name=conflictdoc.canonical_name %}">
{% if conflictdoc.get_state_slug == 'rfc' %}
{{ conflictdoc.canonical_name|upper }}
{% else %}
{{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}
{% endif %}
</a>
{% if conflictdoc.get_state_slug == 'rfc' %}{{ conflictdoc.canonical_name|prettystdname }}{% else %}{{ conflictdoc.canonical_name }}-{{ conflictdoc.rev }}{% endif %}</a>
<span class="badge bg-info">{{ conflictdoc.stream }} stream</span>
{% if snapshot %}<span class="badge bg-warning">Snapshot</span>{% endif %}
</td>
Expand All @@ -58,7 +53,13 @@
</a>
{% endif %}
</td>
<td>{{ doc.get_state.name }}</td>
<td>
{% if "no-problem" in doc.get_state.name|slugify %}
<span class="text-success">{{ doc.get_state.name}}</span>
{% else %}
{{ doc.get_state.name }}
{% endif %}
</td>
</tr>
</tbody>
<tbody class="meta border-top">
Expand Down Expand Up @@ -148,4 +149,4 @@
</script>
<script src="{% static 'ietf/js/document_timeline.js' %}">
</script>
{% endblock %}
{% endblock %}

0 comments on commit 955d9ac

Please sign in to comment.