From e29c56b2e73320e58b273a5eb15ad0c90e32cf0c Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 14 Feb 2013 17:09:57 +0100 Subject: [PATCH 1/1] donwload links --- .../templates/catalogue/lesson/course/lesson_detail.html | 8 ++++++++ .../catalogue/lesson/synthetic/lesson_detail.html | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/catalogue/templates/catalogue/lesson/course/lesson_detail.html b/catalogue/templates/catalogue/lesson/course/lesson_detail.html index cc22b39..ed246c2 100755 --- a/catalogue/templates/catalogue/lesson/course/lesson_detail.html +++ b/catalogue/templates/catalogue/lesson/course/lesson_detail.html @@ -20,4 +20,12 @@

Czas trwania: 45 minut.

+{% if object.package %} +
Pobierz całą lekcję
+{% endif %} +{% if object.student_package %} +
Pobierz lekcję w wersji dla ucznia
+{% endif %} + + {% endblock %} diff --git a/catalogue/templates/catalogue/lesson/synthetic/lesson_detail.html b/catalogue/templates/catalogue/lesson/synthetic/lesson_detail.html index 8fb28c0..e9092d4 100755 --- a/catalogue/templates/catalogue/lesson/synthetic/lesson_detail.html +++ b/catalogue/templates/catalogue/lesson/synthetic/lesson_detail.html @@ -16,4 +16,11 @@

Czas trwania: 45 minut.

+{% if object.package %} +
Pobierz całą lekcję
+{% endif %} +{% if object.student_package %} +
Pobierz lekcję w wersji dla ucznia
+{% endif %} + {% endblock %} -- 2.20.1