~sirn/fanboi2

ref: 857635ed1af899dcfa2f993bd9e5bd4858212b24 fanboi2/fanboi2/templates/partials/_ident.mako -rw-r--r-- 248 bytes
857635edKridsada Thanabulpong services/post: add ident_v6 for ipv6 support 8 months ago
                                                                                        
1
2
3
4
5
<%def name="render_ident(ident, ident_type='ident', class_=None)">
    % if ident:
    <span class="${class_ + ' ' if class_ else ''}ident${' ' + ident_type.replace('_', '-') if ident_type != 'ident' else ''}">ID:${ident}</span>
    % endif
</%def>