Skip to content
Snippets Groups Projects

visit can be added when all there is no active visit

3 files
+ 19
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -25,8 +25,10 @@
@@ -25,8 +25,10 @@
<div class="box-header with-border">
<div class="box-header with-border">
<a href="{% url 'web.views.subject_edit' id %}"
<a href="{% url 'web.views.subject_edit' id %}"
class="btn btn-block btn-default">Subject</a>
class="btn btn-block btn-default">Subject</a>
<a href="{% url 'web.views.visit_add' id %}" type="button" class="btn btn-block btn-default">Add
{% if allow_add_visit %}
visit</a>
<a href="{% url 'web.views.visit_add' id %}" type="button" class="btn btn-block btn-default">
 
Add visit</a>
 
{% endif %}
</div>
</div>
<div class="box-body">
<div class="box-body">
Loading