# HG changeset patch # User cavaliet # Date 1361198626 -3600 # Node ID 119cd616faa4bc363258ae8979689ae00045a407 # Parent 277ebc746baf9df05eeb113cbf58a5a5ae46e236 Search fragment works. Highlight needs to be improved. diff -r 277ebc746baf -r 119cd616faa4 src/egonomy/templates/egonomy_all_fragments.html --- a/src/egonomy/templates/egonomy_all_fragments.html Fri Feb 15 19:03:15 2013 +0100 +++ b/src/egonomy/templates/egonomy_all_fragments.html Mon Feb 18 15:43:46 2013 +0100 @@ -3,14 +3,24 @@ {% load i18n %} {% load thumbnail %} {% load navigation %} +{% load highlight %} {% block title %}{% trans "All fragments" %}{% endblock %} {% block content %}
{% build_pagination nb_pages cur_page_nb "all_fragments" "contents_page clickable" %}
{% endif %} + {% if search %} + {% ifequal nb_results 0 %} +{% build_pagination nb_pages cur_page_nb url_pagination "contents_page clickable" %}
{% endif %}{% trans "Annotated by" %} {{ frg.author }}
{% endfor %} - {% if nb_pages %}{% build_pagination nb_pages cur_page_nb "all_fragments" "contents_page clickable" %}
{% endif %} + {% if nb_pages %}{% build_pagination nb_pages cur_page_nb url_pagination "contents_page clickable" %}
{% endif %} {% endblock %} diff -r 277ebc746baf -r 119cd616faa4 src/egonomy/templates/egonomy_all_pictures.html --- a/src/egonomy/templates/egonomy_all_pictures.html Fri Feb 15 19:03:15 2013 +0100 +++ b/src/egonomy/templates/egonomy_all_pictures.html Mon Feb 18 15:43:46 2013 +0100 @@ -3,6 +3,7 @@ {% load i18n %} {% load thumbnail %} {% load navigation %} +{% load highlight %} {% block title %}{% trans "All pictures" %}{% endblock %} @@ -45,7 +46,7 @@ {% endif %} {% endwith %} -{% trans "Author" %} : {% if img.metadata.auteur %}{{ img.metadata.auteur }}{% else %}({% trans "Not documented" %}){% endif %}
{% endfor %} diff -r 277ebc746baf -r 119cd616faa4 src/egonomy/templates/egonomy_base.html --- a/src/egonomy/templates/egonomy_base.html Fri Feb 15 19:03:15 2013 +0100 +++ b/src/egonomy/templates/egonomy_base.html Mon Feb 18 15:43:46 2013 +0100 @@ -20,7 +20,7 @@