Skip to content

Commit

Permalink
diff/changelog: remove an outdated MID component
Browse files Browse the repository at this point in the history
If MID is enabled, it shows up as a normal node field. There is no need to handle it separately.
  • Loading branch information
stanislaw committed Nov 10, 2024
1 parent 9531d7e commit 168d350
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
{% assert requirement_change is defined %}

{# MID field, if permanent, is always printed as-is. It is never marked as modified. #}
{% if requirement.mid_permanent %}
<div
class="diff_node_field"
>
{%- with badge_text = "MID" -%}
{%- include "components/badge/index.jinja" -%}
{%- endwith -%}
<span class="sdoc_pre_content">{{ requirement.reserved_mid }}</span>
</div>
{% endif %}

<div class="diff_node_fields">
{%- for requirement_field_triple_ in requirement.enumerate_all_fields() -%}
{%- set is_multiline = requirement_field_triple_[0].is_multiline() -%}
Expand Down

0 comments on commit 168d350

Please sign in to comment.