Open baditaflorin opened 9 years ago
I managed to "hack" it around this using a modified version of the file . I will let the administrators to close the issue, because i think that this is not the desired behaviour.
% if task.cur_lock and task.cur_lock.lock and task.project.per_task_instructions:
<% from osmtm.mako_filters import markdown_filter content = task.project.per_task_instructions if task.id: content = content.replace('{taskid}', str(task.id)) %>
${content | markdown_filter, n}
% endif
Hey, I don't think this is stupid at all. It would be nice to get this merged. The project id is also something that we want to expose. Are you able to provide a pull request?
i don`t know how i would do that, and i just hacked the old file, ...
Would it be possible to add minlat, maxlat, minlon and maxlon to the parameters? This would allow us to create tasks loading data from external sources based on the bounding box.
Can this be done by just loading extra javascript via the 'extra instructions' field? Pointers welcome...
If you put a arbitrary polygon, the "Per task instruction" will not work
If you put a normal grid, then it will work.
I need to correlate the osm files with the task_id in the osm tasking manager.
i changed one of the lines in "task.instructions.mako" from
.replace('{y}', str(task.y)) to .replace('{tasknum}', str(task.id))
But it`s still not working