Skip to content

Commit cf9f380

Browse files
Add function needs_checking
1 parent 58732f9 commit cf9f380

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

functions/Element/setElementPosition.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
shared: &shared
22
name: 'setElementPosition'
3+
meta:
4+
- needs_checking: 'This is just a placeholder message for this needs_checking meta-property.'
35
oop:
46
entity: element
57
method: setPosition

web/resources/function.html

+17
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,23 @@ <h3>Pair: <a href="/{{ function[type_name].pair }}">{{ function[type_name].pair
5555
{% endif %}
5656
{% endfor %}
5757

58+
<!-- Meta Properties -->
59+
{% for type_name in ['shared', 'server', 'client'] %}
60+
{% if function[type_name] and function[type_name].meta %}
61+
{% if function[type_name].meta %}
62+
<div style="padding-left: 1em; margin-top: 1em; border: 1px solid #aaa; border-radius: 5px; background-color: rgba(255, 255, 255, 0.1);">
63+
<ul>
64+
{% for meta_item in function[type_name].meta %}
65+
{% if meta_item.needs_checking %}
66+
<li><p><strong>Needs checking:</strong> {{ meta_item.needs_checking }}</p></li>
67+
{% endif %}
68+
{% endfor %}
69+
</ul>
70+
</div>
71+
{% endif %}
72+
{% endif %}
73+
{% endfor %}
74+
5875
<!-- Issues -->
5976
{% for type_name in ['shared', 'client', 'server'] %}
6077
{% if function[type_name] %}

0 commit comments

Comments
 (0)