# HG changeset patch # User ymh # Date 1437221483 -7200 # Node ID 3097cb0581ac841782fda1e3114b18672a6bb015 # Parent 0679b00bb2f13b7082e170e34f15ba849e28e8cb# Parent 5eecb7d31547e5dc964a3ae0d4b7f482e0fbc130 merge changes from mdp adaptation for remie diff -r 5eecb7d31547 -r 3097cb0581ac .hgtags --- a/.hgtags Fri Jul 03 15:49:04 2015 +0200 +++ b/.hgtags Sat Jul 18 14:11:23 2015 +0200 @@ -246,3 +246,5 @@ 3e9428287eb122d573cf0e6a3fc3ec54663c8967 V01.56.02 da3829c1adfb10bfe0cad743ec4f2365ba5940e2 V01.56.02 5fa85499f70347bb608270ba14fec5a62fd5146d V01.56.03 +eb55bae28748d260855886bafad532e68ee43207 V01.56.04 +0fb6a1bdd10b1e72ca3db5ed68a40b4b744733a4 V01.56.05 diff -r 5eecb7d31547 -r 3097cb0581ac .settings/org.eclipse.core.resources.prefs --- a/.settings/org.eclipse.core.resources.prefs Fri Jul 03 15:49:04 2015 +0200 +++ b/.settings/org.eclipse.core.resources.prefs Sat Jul 18 14:11:23 2015 +0200 @@ -15,5 +15,6 @@ encoding//src/ldt/ldt/management/utils.py=utf-8 encoding//src/ldt/ldt/test/test_runner.py=utf-8 encoding//src/ldt/ldt/text/migrations/0001_initial.py=utf-8 +encoding//src/ldt/ldt/user/migrations/0001_initial.py=utf-8 encoding//virtualenv/web/env/guardianenv/Lib/site-packages/guardian/migrations/0001_initial.py=utf-8 encoding/=UTF-8 diff -r 5eecb7d31547 -r 3097cb0581ac src/ldt/ldt/__init__.py --- a/src/ldt/ldt/__init__.py Fri Jul 03 15:49:04 2015 +0200 +++ b/src/ldt/ldt/__init__.py Sat Jul 18 14:11:23 2015 +0200 @@ -1,6 +1,6 @@ __all__ = ["VERSION", "get_version", "__version__"] -VERSION = (1, 56, 03, "final", 0) +VERSION = (1, 56, 05, "final", 0) def get_version(): diff -r 5eecb7d31547 -r 3097cb0581ac src/ldt/ldt/ldt_utils/templates/front/front_base.html --- a/src/ldt/ldt/ldt_utils/templates/front/front_base.html Fri Jul 03 15:49:04 2015 +0200 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_base.html Sat Jul 18 14:11:23 2015 +0200 @@ -13,8 +13,8 @@ {% block title %}Lignes de temps{% endblock %} {% block js_import %} - - + + {% endblock %} {% block css_declaration %}{% endblock %} {% block css_import %} @@ -22,17 +22,17 @@ {% endblock %} {% block js_declaration %} + $(document).ready(function () { + $("#id_search").bind('hastext', function () { + $("#search_submit").addClass('search_valid').removeClass('search_invalid'); + $("#search_submit").removeAttr('disabled'); + }); + $("#id_search").bind('notext', function () { + $("#search_submit").addClass('search_invalid').removeClass('search_valid'); + $("#search_submit").attr('disabled', 'disabled'); + }); + }); + {% endblock %} {% endblock %} @@ -67,10 +67,10 @@
  • {% if user.is_authenticated %} - {% trans "Log out" %} + {% trans "Log out" %} {% else %} - {% trans "Log in" %} - {% endif %} + {% trans "Log in" %} + {% endif %}
  • {% block body %} @@ -79,7 +79,7 @@