Skip to content

Commit 605cd1a

Browse files
authored
Merge pull request #257 from zackcam/main
Adding an ACL section for each command on their command page
2 parents 54bd9a5 + 45d6c96 commit 605cd1a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

templates/command-page.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@
7878
<dd>{{ command_data_obj.since }}</dd>
7979
<dl>
8080
{% endif %}
81+
{% if command_data_obj.acl_categories %}
82+
<dl>
83+
<dt>ACL Categories:</dt>
84+
<dd>
85+
{% for category in command_data_obj.acl_categories %}
86+
@{{ category|lower }}{% if not loop.last %}, {% endif %}
87+
{% endfor %}
88+
</dd>
89+
<dl>
90+
{% endif %}
8191
</dl>
8292

8393
{% else %}

0 commit comments

Comments
 (0)