/* Minified: inspector.properties.RelatedTasks.js */
App.Inspector.Properties.RelatedTasks=function(object,client_interface){var wrapper=$(this);var wrapper_row=wrapper.parents("div.property:first");if(object.has_related_tasks){}else{wrapper_row.remove()}var to_append=[];if(object.has_related_tasks){var related_tasks_list=[];$.each(object.related_tasks,function(index,item){if(item.is_completed){related_tasks_list.push("<del>#"+item.task_id+" "+item.name+"</del>")}else{related_tasks_list.push("#"+item.task_id+" "+item.name)}});related_tasks_list=related_tasks_list.join(", ")}else{var related_tasks_list="<span>"+App.lang("No related tasks")+"</span>"}$('<span class="inspector_edit_wrapper"></span>').append(related_tasks_list).appendTo(wrapper)};
