Browse Source

Merge branch 'producao'

producao
Marcio Mazza 10 years ago
parent
commit
13a87ec258
  1. 2
      bin/run_sigi
  2. 4
      sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html

2
bin/run_sigi

@ -24,4 +24,6 @@ exec ${VENVDIR}/gunicorn ${DJANGO_WSGI_MODULE}:application \
--workers $NUM_WORKERS \
--user=$USER --group=$GROUP \
--log-level=debug \
--timeout=180 \
--graceful-timeout=180 \
--bind=unix:$SOCKFILE

4
sigi/apps/servicos/templates/admin/servicos/casaatendida/change_form.html

@ -1,5 +1,6 @@
{% extends "base_change_form.html" %}
{% load i18n admin_modify %}
{% load static from staticfiles %}
{% block after_related_objects %}
{{ block.super }}
@ -23,7 +24,8 @@
<tr>
<td><p><a href="{% url 'admin:servicos_servico_change' srv.id %}">{{ srv.tipo_servico.sigla }}</a></p></td>
<td>{{ srv.tipo_servico }}</td>
<td><img alt="{{ srv.hospedagem_interlegis }}" src="{{ MEDIA_URL }}img/admin/icon-{{ srv.hospedagem_interlegis|yesno:'yes,no' }}.gif"></td>
<td><img alt="{{ srv.hospedagem_interlegis }}"
src="{% static srv.hospedagem_interlegis|yesno:'admin/img/icon-yes.gif,admin/img/icon-no.gif' %}"></td>
<td>{{ srv.data_ativacao|date:'SHORT_DATE_FORMAT' }}</td>
<td>{{ srv.data_alteracao|date:'SHORT_DATE_FORMAT' }}</td>
<td>{{ srv.data_desativacao|date:'SHORT_DATE_FORMAT' }}</td>

Loading…
Cancel
Save