forked from HPR/hpr_generator
Add get_avatar macro
Print hpr logo or host avatar filename.
This commit is contained in:
3
templates/shared-avatar.tpl.html
Normal file
3
templates/shared-avatar.tpl.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<!--% MACRO get_avatar(has_avatar, host_id) BLOCK %-->
|
||||
<!--% IF has_avatar == 0 %-->hpr_logo.png<!--% ELSE %-->hosts/<!--% host_id %-->.png<!--% END %-->
|
||||
<!--% END %-->
|
Reference in New Issue
Block a user