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" %} {% extends "comissoes/comissao_detail.html" %}
{% load i18n %} {% load i18n %}
{% block actions %}{% endblock actions %}
{% block detail_content %} {% block detail_content %}
TODO ... Composição TODO ... Composição
{% endblock detail_content %} {% endblock detail_content %}

2
templates/comissoes/materias.html

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

2
templates/comissoes/reunioes.html

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

4
templates/crud/detail.html

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

Loading…
Cancel
Save