diff --git a/sigi/apps/metas/views.py b/sigi/apps/metas/views.py index 5ef2d1e..d1ebf80 100644 --- a/sigi/apps/metas/views.py +++ b/sigi/apps/metas/views.py @@ -12,7 +12,7 @@ from django.db.models import Q from django.views.decorators.cache import cache_page from django.db.models.aggregates import Sum from django.contrib.auth.decorators import user_passes_test, login_required -from sigi.settings import MEDIA_ROOT +from sigi.settings import MEDIA_ROOT, STATIC_URL from sigi.shortcuts import render_to_pdf from sigi.apps.servicos.models import TipoServico, Servico from sigi.apps.convenios.models import Projeto, Convenio @@ -302,9 +302,9 @@ def gera_map_data_file(cronjob=False): } for sv in c.servico_set.all(): - casa['info'].append(u"%s ativado em %s link" % ( + casa['info'].append(u"%s ativado em %s link" % ( sv.tipo_servico.nome, sv.data_ativacao.strftime('%d/%m/%Y') if sv.data_ativacao else - u'', sv.url)) + u'', sv.url, STATIC_URL)) casa['seit'].append(sv.tipo_servico.sigla) for cv in c.convenio_set.all():