254
edits
Line 68: | Line 68: | ||
'''Group name''' | '''Group name''' | ||
<pre> | <pre> | ||
set('groupname', if( | set('groupname', if(G, if(length(G.Name)>0, G.Name, G.Shortname), 'no group')) | ||
set('groupname', if(length(groupname)>0, '['+groupname+']')) | set('groupname', if(length(groupname)>0, '['+groupname+']')) | ||
</pre> | </pre> | ||
'''Group short name''' | '''Group short name''' | ||
<pre> | <pre> | ||
set('groupname', if( | set('groupname', if(G, if(length(G.Shortname)>0, G.Shortname, G.Name), 'no group')) | ||
set('groupname', if(length(groupname)>0, '['+groupname+']')) | set('groupname', if(length(groupname)>0, '['+groupname+']')) | ||
</pre> | </pre> |
edits