def project_info(request, domain, template='appstore/project_info.html'):
    dom = Domain.get(domain)
    if (not can_view_app(request, dom)):
        raise Http404()
    copies = dom.copies_of_parent()
    images = set()
    audio = set()
    return render(request, template, {'project': dom, 'applications': dom.full_applications(include_builds=False), 'fixtures': FixtureDataType.by_domain(dom.name), 'copies': copies, 'images': images, 'audio': audio, 'url_base': reverse('appstore'), 'display_import': (True if (getattr(request, 'couch_user', '') and request.couch_user.get_domains()) else False)})
def project_info(request, domain, template='appstore/project_info.html'):
    dom = Domain.get(domain)
    if (not can_view_app(request, dom)):
        raise Http404()
    copies = dom.copies_of_parent()
    images = set()
    audio = set()
    return render(request, template, {'project': dom, 'applications': dom.full_applications(include_builds=False), 'fixtures': FixtureDataType.by_domain(dom.name), 'copies': copies, 'images': images, 'audio': audio, 'url_base': reverse('appstore'), 'display_import': (True if (getattr(request, 'couch_user', ) and request.couch_user.get_domains()) else False)})