fnp
/
edumed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
aa481cd
)
a@name to @id
author
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 20 Feb 2013 11:39:47 +0000
(12:39 +0100)
committer
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 20 Feb 2013 11:39:47 +0000
(12:39 +0100)
catalogue/templates/catalogue/section_list.html
patch
|
blob
|
history
curriculum/templates/curriculum/snippets/course_boxes.html
patch
|
blob
|
history
edumed/templates/home.html
patch
|
blob
|
history
diff --git
a/catalogue/templates/catalogue/section_list.html
b/catalogue/templates/catalogue/section_list.html
index
25a093b
..
1457be3
100755
(executable)
--- a/
catalogue/templates/catalogue/section_list.html
+++ b/
catalogue/templates/catalogue/section_list.html
@@
-29,7
+29,7
@@
<div id="main-bar">
<div class="section-list-toc">
<div id="main-bar">
<div class="section-list-toc">
- <h2
>Tematy<a name="top"></a>
</h2>
+ <h2
id='top'>Tematy
</h2>
<ul class="link-list">
{% for object in object_list %}
<li><a href="#{{ object.slug }}">{{ object }}</a></li>
<ul class="link-list">
{% for object in object_list %}
<li><a href="#{{ object.slug }}">{{ object }}</a></li>
@@
-47,7
+47,7
@@
<div class="section-links">
<a href="#top">wróć do spisu treści</a>
</div>
<div class="section-links">
<a href="#top">wróć do spisu treści</a>
</div>
- <h2
class="section-header">{{ object }} <a name="{{ object.slug }}" class="permalink"></a>
</h2>
+ <h2
id='{{ object.slug }}' class="section-header">{{ object }}
</h2>
{% section_box object %}
{% endfor %}
{% section_box object %}
{% endfor %}
diff --git
a/curriculum/templates/curriculum/snippets/course_boxes.html
b/curriculum/templates/curriculum/snippets/course_boxes.html
index
3b3c41b
..
c998121
100755
(executable)
--- a/
curriculum/templates/curriculum/snippets/course_boxes.html
+++ b/
curriculum/templates/curriculum/snippets/course_boxes.html
@@
-3,6
+3,6
@@
<div class="section-links">
<a href="#top">wróć do spisu treści</a>
</div>
<div class="section-links">
<a href="#top">wróć do spisu treści</a>
</div>
- <h3
>{{ course }}<a name="{{ course.slug }}" class="permalink"></a>
</h3>
+ <h3
id='{{ course.slug }}'>{{ course }}
</h3>
{% course_box course %}
{% endfor %}
{% course_box course %}
{% endfor %}
diff --git
a/edumed/templates/home.html
b/edumed/templates/home.html
index
693f7b2
..
51642de
100755
(executable)
--- a/
edumed/templates/home.html
+++ b/
edumed/templates/home.html
@@
-1,4
+1,5
@@
{% extends "base.html" %}
{% extends "base.html" %}
+{% load url from future %}
{% load catalogue_tags %}
{% load course_boxes_toc from curriculum_tags %}
{% load chunk from chunks %}
{% load catalogue_tags %}
{% load course_boxes_toc from curriculum_tags %}
{% load chunk from chunks %}
@@
-39,6
+40,8
@@
<ul class="link-list">
<li><a href="{{ package_url }}">Pobierz wszystkie lekcje</a></li>
<li><a href="{{ package_student_url }}">Pobierz wszystkie lekcje w wersji dla ucznia</a></li>
<ul class="link-list">
<li><a href="{{ package_url }}">Pobierz wszystkie lekcje</a></li>
<li><a href="{{ package_student_url }}">Pobierz wszystkie lekcje w wersji dla ucznia</a></li>
+ <li><a href="{% url 'catalogue_lesson' 'slowniczek' %}">Słowniczek</a></li>
+ <li><a href="{% url 'catalogue_lesson' 'metody' %}">Metody edukacyjne</a></li>
</ul>
</section>
</ul>
</section>