add space in enum references in snmp node descr
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
[% IF node.snmp_object.enum.size > 0 %]
|
[% IF node.snmp_object.enum.size > 0 %]
|
||||||
<table class="table table-condensed table-bordered">
|
<table class="table table-condensed table-bordered">
|
||||||
[% FOREACH idx IN node.snmp_object.enum %]
|
[% FOREACH idx IN node.snmp_object.enum %]
|
||||||
<tr><td>[% idx | html_entity %]</td></tr>
|
<tr><td>[% idx.replace('(\w)\(', '$1 (') | html_entity %]</td></tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
</table>
|
</table>
|
||||||
[% END %]
|
[% END %]
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Description</th>
|
<th scope="row">Description</th>
|
||||||
<td>[% node.snmp_object.descr | html_entity %]</td>
|
<td>[% node.snmp_object.descr.replace('(\w)\(', '$1 (') | html_entity %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Value</th>
|
<th scope="row">Value</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user