metanorma/metanorma-iso

View on GitHub
lib/isodoc/iso/html/html_iso_titlepage.html

Summary

Maintainability
Test Coverage
<div id='toggle'> <span>•</span> </div>
{% if tc_docnumber.size > 0 %}
    {% for num in tc_docnumber %}
<p class="coverpage_docnumber">{{ num }}</p>
    {% endfor %}
    {% else %}
<p class="coverpage_docnumber">{{ docnumber_undated }} {{ draftinfo }}</p>
    {% endif %}

{% if edition_display %}
<p class="coverpage_docnumber">{{ edition_display | capitalize }}</p>
{% endif %}

{% if correcteddate and correcteddate != ""  and correcteddate != "XXX" %}
<p class="coverpage_docnumber">{{ labels["corrected_version"] }} : {{ correcteddate }}</p>
{% endif %}

{% if revdate %}
<p class="coverpage_docnumber">{{ labels["date"]}}: {{ revdate }}</p>
{% endif %}

{% if tc_docnumber.size > 0 %}
<p class="coverpage_docnumber">{{ docnumber_undated }} {{ draftinfo }}</p>
{% endif %}

<p class="coverpage_techcommittee">{{ editorialgroup }}</p>

{% if secretariat %}
<p class="coverpage_techcommittee"><a
   name="CVP_Secretariat_Loca">{{ labels["secretariat"] }}</a>: {{ secretariat }}</p>
{% endif %}

<div class="doctitle-en"><div><span class="title">{{ doctitleintro }}{% if doctitleintro and doctitlemain %} &#x2014; {% endif %}</span><span class="subtitle">{{ doctitlemain }}{% if doctitlemain and doctitlepart %} &#x2014;{% endif %}</span>
  {% if doctitlepart %}
</div><div class="doctitle-part">
  {% if doctitlepartlabel %}<span class="partlabel">{{ doctitlepartlabel }}: </span>{% endif %}
  <span class="part">{{ doctitlepart }}</span>
  {% endif %}
</div>
{% if doctitleamdlabel %}
<div class="doctitle-part">{{ doctitleamdlabel }}{% if doctitleamd %}: {{ doctitleamd }}{% endif %}</div>
{% endif %}
{% if doctitleaddlabel %}
<div class="doctitle-part">{{ doctitleaddlabel }}{% if doctitleadd %}: {{ doctitleadd }}{% endif %}</div>
{% endif %}
{% if doctitlecorrlabel %}
<div class="doctitle-part">{{ doctitlecorrlabel }}</div>
{% endif %}
</div>

<div class="doctitle-fr"><div><span class="title">{{ docsubtitleintro }}{% if docsubtitleintro and docsubtitlemain %} &#x2014; {% endif %}</span><span class="subtitle">{{ docsubtitlemain }}{% if docsubtitlemain and docsubtitlepart %} &#x2014;{% endif %}</span>
  {% if docsubtitlepart %}
  </div><div>
  {% if docsubtitlepartlabel %}<span class="partlabel">{{ docsubtitlepartlabel }}: </span>{% endif %}
  <span class="part">{{ docsubtitlepart }}</span>
  {% endif %}
</div>
{% if docsubtitleamdlabel %}
<div>{{ docsubtitleamdlabel }}{% if docsubtitleamd %}: {{ docsubtitleamd }}{% endif %}</div>
{% endif %}
{% if docsubtitleaddlabel %}
<div>{{ docsubtitleaddlabel }}{% if docsubtitleadd %}: {{ docsubtitleadd }}{% endif %}</div>
{% endif %}
{% if docsubtitlecorrlabel %}
<div>{{ docsubtitlecorrlabel }}</div>
{% endif %}
</div>

<div class="coverpage_docstage">
  {% if unpublished %}
  <p>{{ stageabbr }} stage</p>
  {% endif %}
</div>

{% if stage_int >= 20 and stage_int < 40 %}
<div class="coverpage_warning">
  <div id="boilerplate-license-destination"/>
</div>
{% endif %}
<div class="coverpage_warning" id="coverpage-note-destination"/>

{% if ics %}
<p><b>ICS:</b> {{ ics }}</p>
{% endif %}

{% if keywords.size > 0 %}
<p><b>Descriptors:</b> {{ keywords | join: ", " }}
{% endif %}

{%if fast_track == "true" %}
<div><span class="subtitle">{{ labels["fast-track-procedure"] }}</span></div>
{% endif %}