Browse Source

Hide actions in comissoes detail sub sections

pull/6/head
Marcio Mazza 10 years ago
parent
commit
e1b8ae2c5e
  1. 2
      templates/comissoes/composicao.html
  2. 2
      templates/comissoes/materias.html
  3. 2
      templates/comissoes/reunioes.html
  4. 4
      templates/crud/detail.html

2
templates/comissoes/composicao.html

@ -1,6 +1,8 @@
{% extends "comissoes/comissao_detail.html" %}
{% load i18n %}
{% block actions %}{% endblock actions %}
{% block detail_content %}
TODO ... Composição
{% endblock detail_content %}

2
templates/comissoes/materias.html

@ -1,6 +1,8 @@
{% extends "comissoes/comissao_detail.html" %}
{% load i18n %}
{% block actions %}{% endblock actions %}
{% block detail_content %}
TODO ... Matérias
{% endblock detail_content %}

2
templates/comissoes/reunioes.html

@ -1,6 +1,8 @@
{% extends "comissoes/comissao_detail.html" %}
{% load i18n %}
{% block actions %}{% endblock actions %}
{% block detail_content %}
TODO ... Reuniões
{% endblock detail_content %}

4
templates/crud/detail.html

@ -5,10 +5,12 @@
{# FIXME is this the best markup to use? #}
<div class="clearfix">
{% block actions %}
<dl class="sub-nav right">
<dd><a href="{{ view.update_url }}" class="button">{% trans 'Editar' %}</a></dd>
<dd><a href="{{ view.delete_url }}" class="button alert">{% trans 'Excluir' %}</a></dd>
</dl>
{% endblock actions %}
{% block sections_nav %}{% endblock %}
</div>
@ -33,5 +35,5 @@
{% endfor %}
{% endblock detail_content %}
{% endblock %}
{% endblock base_content %}

Loading…
Cancel
Save