Skip to content

Commit

Permalink
Update docs.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlntv committed Apr 29, 2024
1 parent 1ce5d35 commit 0e92bd7
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions vanilla/templates/_layouts/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,15 @@ <h1>{{ title.split('|')[0] }}</h1>
'outdated': 'Outdated',
'deprecated': 'Deprecated'
} %}

{% if status in ['braindump', 'draft', 'review'] %}
<div class="p-status-label p-status-label--caution">{{ status_labels[status] }}</div>
{% elif status in ['approved', 'completed'] %}
<div class="p-status-label p-status-label--positive">{{ status_labels[status] }}</div>
{% elif status in ['outdated', 'deprecated'] %}
<div class="p-status-label p-status-label--negative">{{ status_labels[status] }}</div>
{% endif %}
<div>
{% if status in ['braindump', 'draft', 'review'] %}
<div class="p-status-label p-status-label--caution">{{ status_labels[status] }}</div>
{% elif status in ['approved', 'completed'] %}
<div class="p-status-label p-status-label--positive">{{ status_labels[status] }}</div>
{% elif status in ['outdated', 'deprecated'] %}
<div class="p-status-label p-status-label--negative">{{ status_labels[status] }}</div>
{% endif %}
</div>
</div>
{% include "_layouts/_component_tabs.html" %}
{% if not page_tabs %}
Expand Down

0 comments on commit 0e92bd7

Please sign in to comment.