Blame templates/html/htmlinclude.tpl
|
Packit Service |
50c9f2 |
{# input: ii with attributes (file,name,isImport,isLocal), compound with attribute language #}
|
|
Packit Service |
50c9f2 |
{% spaceless %}
|
|
Packit Service |
50c9f2 |
{% if ii.file or ii.name %}
|
|
Packit Service |
50c9f2 |
<tt>
|
|
Packit Service |
50c9f2 |
{% if compound.language=='java' or compound.language=='idl' %}
|
|
Packit Service |
50c9f2 |
import
|
|
Packit Service |
50c9f2 |
{%else %}
|
|
Packit Service |
50c9f2 |
{% if ii.isImport %}
|
|
Packit Service |
50c9f2 |
#import
|
|
Packit Service |
50c9f2 |
{% else %}
|
|
Packit Service |
50c9f2 |
#include
|
|
Packit Service |
50c9f2 |
{% endif %}
|
|
Packit Service |
50c9f2 |
{%endif %}
|
|
Packit Service |
50c9f2 |
{% if ii.isLocal %}"{% else %}<{% endif %}
|
|
Packit Service |
50c9f2 |
{% if ii.name %}
|
|
Packit Service |
50c9f2 |
{% if ii.file %}
|
|
Packit Service |
50c9f2 |
{{ ii.name }}
|
|
Packit Service |
50c9f2 |
{% else %}
|
|
Packit Service |
50c9f2 |
{{ ii.name }}
|
|
Packit Service |
50c9f2 |
{% endif %}
|
|
Packit Service |
50c9f2 |
{% else %}
|
|
Packit Service |
50c9f2 |
{{ ii.file.name }}
|
|
Packit Service |
50c9f2 |
{% endif %}
|
|
Packit Service |
50c9f2 |
{% if ii.isLocal %}"{% else %}>{% endif %}
|
|
Packit Service |
50c9f2 |
</tt>
|
|
Packit Service |
50c9f2 |
{% endif %}
|
|
Packit Service |
50c9f2 |
{% endspaceless %}
|