Skip to content
Snippets Groups Projects
Commit 52c2b12e authored by PavelBegunkov's avatar PavelBegunkov
Browse files

disable Show

parent e50b4d0b
Branches
Tags
No related merge requests found
......@@ -2,8 +2,8 @@
{% block title %}Дисциплины{% endblock %} {# head -> title #}
{% block media %} {# head -> css, js #}
{{ HTML.style('media/css/courses_teacher.css')|raw }}
{{ HTML.style('media/css/actionButton.css')|raw }}
{{ HTML.style('media/css/courses_teacher.css')|raw }}
{{ HTML.style('media/css/actionButton.css')|raw }}
{% endblock %}
{% macro outputSubject(Subject, HTML) %}
......@@ -55,9 +55,12 @@
"Редактирование",
{'title': 'Просмотр и редактирование дисциплины', 'class': 'disc_button active'})|raw }}
{% else %}
{{ HTML.anchor('discipline/show/'~Discipline.ID,
<div class="disc_button inactive" alt="В разработке">
Просмотр
</div>
{# {{ HTML.anchor('discipline/show/'~Discipline.ID,
"Просмотр",
{'title': 'Просмотр дисциплины', 'class': 'disc_button active'})|raw }}
{'title': 'Просмотр дисциплины', 'class': 'disc_button active'})|raw }} #}
{% endif %}
</td>
</tr>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment