mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
22 lines
No EOL
619 B
Text
22 lines
No EOL
619 B
Text
<div class="notes bg-light border">
|
|
<b>{{ i18n("notes") }}</b>
|
|
{% if (not isEmptyString(title)) then %}
|
|
<p class='mb-1'>{* title *}</p>
|
|
{% end %}
|
|
{%
|
|
local tag = ternary(is_ordered, "ol", "ul")
|
|
%}
|
|
<{{tag}}>
|
|
{% for i, note in ipairs(notes) do %}
|
|
{% if not note.hidden then %}
|
|
{% if(type(note.content) == "table") then %}
|
|
{% for _, msg in ipairs(note.content) do %}
|
|
<li>{* msg *}</li>
|
|
{% end %}
|
|
{% else %}
|
|
<li>{* note.content *}</li>
|
|
{% end %}
|
|
{% end %}
|
|
{% end %}
|
|
</{{tag}}>
|
|
</div> |