% if $proj == nil then {{$title}} % else {{$proj.name}} - {{$title}} % end % include view/menu.html % if $proj == nil then % set proj_name = "global" % set from = "home" % else % set proj_name = $proj.name % set from = "proj" % end

{{$proj_name}} board

% set state_id = 1 % for column in $columns do

{{$states[$state_id]}} % if #$column > 0 then ({{#$column}}) % end

% for card in $column do
% if $proj == nil then {{$card.proj_name}} % end #{{$card.code}}

{{$card.title}}

{{os.date("%F %R", $card.time)}} ({{$card.priority}})
% set base_path = "/p/"..$card.proj_name.."/t/"..$card.code % set shift_path = $base_path.."/shift"
% end
% set state_id = $state_id + 1 % end