Blame refpolicy/doc/templates/template.html
|
Chris PeBenito |
effd58 |
[[for temp in templates]]
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
[[if temp.has_key("mod_layer")]]
|
|
Chris PeBenito |
effd58 |
Layer: [[mod_layer]]
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
[[if temp.has_key("mod_name")]]
|
|
Chris PeBenito |
effd58 |
Module: [[mod_name]]
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
[[exec i = 0]]
|
|
Chris PeBenito |
effd58 |
[[temp['template_name']]](
|
|
Chris PeBenito |
effd58 |
[[for arg in temp['template_parameters']]]
|
|
Chris PeBenito |
effd58 |
[[if i != 0]]
|
|
Chris PeBenito |
effd58 |
,
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
[[exec i = 1]]
|
|
Chris PeBenito |
effd58 |
[[if arg['optional'] == 'yes']]
|
|
Chris PeBenito |
effd58 |
[
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
[[arg['name']]]
|
|
Chris PeBenito |
effd58 |
[[if arg['optional'] == 'yes']]
|
|
Chris PeBenito |
effd58 |
]
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
)
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
[[if temp['template_summary']]]
|
|
Chris PeBenito |
effd58 |
Summary
|
|
Chris PeBenito |
effd58 |
[[temp['template_summary']]]
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
[[if temp['template_desc']]]
|
|
Chris PeBenito |
effd58 |
Description
|
|
Chris PeBenito |
effd58 |
[[temp['template_desc']]]
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
Parameters
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
Parameter:Description:Optional:
|
|
Chris PeBenito |
effd58 |
[[for arg in temp['template_parameters']]]
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
[[arg['name']]]
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
[[arg['desc']]]
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
[[arg['optional']]]
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
[[end]]
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
|
|
Chris PeBenito |
effd58 |
[[end]]
|