summaryrefslogtreecommitdiff
path: root/workshop_app/templates
diff options
context:
space:
mode:
authorAkshen2017-06-22 10:49:22 +0530
committerAkshen2017-06-22 10:49:22 +0530
commit9dde06c3ace0cf5ee0a85b17658486ce73991cba (patch)
treed63e3109e8de52949363e880d5f177878ea26a54 /workshop_app/templates
parent81458d0cd8e68a99cd2b429aaf38fa4f33d12e22 (diff)
downloadworkshop_booking-9dde06c3ace0cf5ee0a85b17658486ce73991cba.tar.gz
workshop_booking-9dde06c3ace0cf5ee0a85b17658486ce73991cba.tar.bz2
workshop_booking-9dde06c3ace0cf5ee0a85b17658486ce73991cba.zip
Adds ZipFile Feature
- pdf_view function changed to file_view - exclude added in ProposeWorkshopDateForm - required templated changed for file_view - zipfile feature included in file_view
Diffstat (limited to 'workshop_app/templates')
-rw-r--r--workshop_app/templates/workshop_app/booking.html2
-rw-r--r--workshop_app/templates/workshop_app/index.html2
-rw-r--r--workshop_app/templates/workshop_app/view_workshoptype_details.html2
-rw-r--r--workshop_app/templates/workshop_app/view_workshoptype_list.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/workshop_app/templates/workshop_app/booking.html b/workshop_app/templates/workshop_app/booking.html
index 64ecee1..7265889 100644
--- a/workshop_app/templates/workshop_app/booking.html
+++ b/workshop_app/templates/workshop_app/booking.html
@@ -125,7 +125,7 @@
<tr >
<td id="instructor-name">{{ workshop.1 }}</td>
<td
- id="workshop-name">{{ workshop.2 }} <a href="{{URL_ROOT}}/pdf_view/{{workshop.2.workshoptype_name}}" >
+ id="workshop-name">{{ workshop.2 }} <a href="{{URL_ROOT}}/file_view/{{workshop.4}}" >
<span class="glyphicon glyphicon-info-sign"></span>
</a> </td>
<td id="workshop-date{{ forloop.counter }}">{{ workshop.0 }}</td>
diff --git a/workshop_app/templates/workshop_app/index.html b/workshop_app/templates/workshop_app/index.html
index aed85cc..718f9ba 100644
--- a/workshop_app/templates/workshop_app/index.html
+++ b/workshop_app/templates/workshop_app/index.html
@@ -76,7 +76,7 @@
<br><br>
</div>
<div class="col-md-3" style="align-items: center;">
- <a href="{{ URL_ROOT }}/pdf_view/flowchart" >
+ <a href="{{ URL_ROOT }}/file_view/flowchart" >
<img src="{{ URL_ROOT}}/static/workshop_app/img/part.png"><br><br>
How to Participate</a>
<br><br>
diff --git a/workshop_app/templates/workshop_app/view_workshoptype_details.html b/workshop_app/templates/workshop_app/view_workshoptype_details.html
index f47cf59..60d63a4 100644
--- a/workshop_app/templates/workshop_app/view_workshoptype_details.html
+++ b/workshop_app/templates/workshop_app/view_workshoptype_details.html
@@ -66,7 +66,7 @@
<td scope="row" id="{{ forloop.counter }}">{{ forloop.counter }}</td>
<td>{{ w.workshoptype_name }}</td>
<td>{{ w.workshoptype_duration }}</td>
- <td><a href="{{URL_ROOT}}/pdf_view/{{ w.workshoptype_name }}"class="btn btn-default btn-sm" class="accordion-toggle" >View Workshop Details</a></td>
+ <td><a href="{{URL_ROOT}}/file_view/{{ w.id }}" class="btn btn-default btn-sm" class="accordion-toggle" >View Workshop Details</a></td>
</tr>
</tbody>
{% endfor %}
diff --git a/workshop_app/templates/workshop_app/view_workshoptype_list.html b/workshop_app/templates/workshop_app/view_workshoptype_list.html
index 12ead53..b053305 100644
--- a/workshop_app/templates/workshop_app/view_workshoptype_list.html
+++ b/workshop_app/templates/workshop_app/view_workshoptype_list.html
@@ -58,7 +58,7 @@
<td scope="row" id="{{ forloop.counter }}">{{ forloop.counter }}</td>
<td>{{ w.workshoptype_name }}</td>
<td>{{ w.workshoptype_duration }}</td>
- <td><a class="btn btn-default btn-sm" href="{{URL_ROOT}}/pdf_view/{{ w.workshoptype_name }}">View Workshop Details</a></td>
+ <td><a class="btn btn-default btn-sm" href="{{URL_ROOT}}/file_view/{{ w.id }}">View Workshop Details</a></td>
{% if request.user.profile.position == 'coordinator' %}
{% endif %}
</tr>