${_('Maintenance')}

% if c.executable_tasks:

${_('Perform maintenance tasks for this repo')}

${_('Following tasks will be performed')}:
    % for task in c.executable_tasks:
  1. ${task}
  2. % endfor

${_('Maintenance can be automated by such api call. Can be called periodically in crontab etc.')}
${h.api_call_example(method='maintenance', args={"repoid": c.rhodecode_db_repo.repo_name})}

% else:

${_('No maintenance tasks for this repo available')}

% endif % if c.executable_tasks:
% endif