% if $proj == nil then % set proj_name = "global"
projects
invites
% else % set proj_name = $proj.name
new ticket
% end
{{$proj_name}} board
% set state_id = 1 % for column in $columns do
{{$states[$state_id]}}
% for card in $column do
% if $proj == nil then
{{$card.proj_name}}
% end
#{{$card.code}}
{{$card.title}}
{{os.date("%Y-%m-%d", $card.time)}} ({{$card.priority}})
% set left_disabled = "" % if $state_id == 1 then % set left_disabled = " disabled" % end
←
% set right_disabled = "" % if $state_id == #$states then % set right_disabled = " disabled" % end
→
% end
% set state_id = $state_id + 1 % end