Skip to content
Snippets Groups Projects
Commit f6d9b717 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch...

Merge branch '28-there-should-be-a-way-to-add-an-appointment-with-external-person-neither-a-subject-nor-control' into 'master'

button to add general appointment added

Closes #28

See merge request !28
parents 247fd416 c15cd6c3
No related branches found
No related tags found
1 merge request!28button to add general appointment added
Pipeline #
......@@ -79,6 +79,14 @@
<div id="calendar"></div>
</div>
</div>
<div class="col-md-3">
<a href="{% url 'web.views.appointment_add_general' %}" type="button"
class="btn btn-block btn-default">Add General appointment</a>
</div>
<div class="col-md-3">
<a href="{% url 'web.views.subjects' %}" type="button"
class="btn btn-block btn-default">Add Subject appointment</a>
</div>
</div>
</div>
{% endblock maincontent %}
......
......@@ -26,7 +26,7 @@ urlpatterns = [
url(r'^appointments/details/(?P<id>\d+)$', views.appointment.appointment_details,
name='web.views.appointment_details'),
url(r'^appointments/add/(?P<visit_id>\d+)$', views.appointment.appointment_add, name='web.views.appointment_add'),
url(r'^appointments/add/general$', views.appointment.appointment_add, name='web.views.appointment_add'),
url(r'^appointments/add/general$', views.appointment.appointment_add, name='web.views.appointment_add_general'),
url(r'^appointments/edit/(?P<id>\d+)$', views.appointment.appointment_edit, name='web.views.appointment_edit'),
url(r'^visits$', views.visit.visits, name='web.views.visits'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment