# If this is True, all tasks will be executed locally by blocking until the task returns.
CELERY_ALWAYS_EAGER=False
-REINDEX=True
+REINDEX=False
DATASTART=False
-Subproject commit 0790c8f8c2df57d782176710d73795734d034111
+Subproject commit 7a7911895b106d17b0167d7740e5b3c2b7c54e89
-.overflow{
- max-height:200px;
+.overflow {
+ max-height: 200px;
}
.module ul, li {
- border-radius: 0px 0px 0px 0px;
+ border-radius: 0px 0px 0px 0px;
}
-.ui-selectmenu-button.ui-widget.ui-state-default{
- background-image:none;
- background-color:#6a0307;
- border-color:#6a0307;
- color:white;
+.ui-selectmenu-button.ui-widget.ui-state-default {
+ background-image: none;
+ background-color: #6a0307;
+ border-color: #6a0307;
+ color: white;
}
-.ui-selectmenu-button.ui-widget.ui-state-hover{
- background-image:none;
- background-color:#6a0307;
- border-color:#6a0307;
- color:white;
+.ui-selectmenu-button.ui-widget.ui-state-hover {
+ background-image: none;
+ background-color: #6a0307;
+ border-color: #6a0307;
+ color: white;
}
-.ui-selectmenu-button.ui-widget.ui-state-focus{
- background-image:none;
- background-color:#6a0307;
- border-color:#6a0307;
- color:white;
+.ui-selectmenu-button.ui-widget.ui-state-focus {
+ background-image: none;
+ background-color: #6a0307;
+ border-color: #6a0307;
+ color: white;
}
-.ui-selectmenu-button.ui-widget.ui-state-default .ui-icon{
- background-image:url("images/ui-icons_ffffff_256x240.png");
+.ui-selectmenu-button.ui-widget.ui-state-default .ui-icon {
+ background-image: url("images/ui-icons_ffffff_256x240.png");
}
-.ui-menu-item{
- background-color:white;
+.ui-menu-item {
+ background-color: white;
}
-.ui-menu-item.ui-state-focus{
- background-image:none;
- background-color:#6a0307;
- border-color:#6a0307;
- color:white;
+.ui-menu-item.ui-state-focus {
+ background-image: none;
+ background-color: #6a0307;
+ border-color: #6a0307;
+ color: white;
}
+
+form p {
+ display: inline-block;
+}
+
+.ui-front {
+ z-index: 1000;
+}
+
+select[name*="startBracket"] {
+ text-align: right;
+}
+
'delete the collection permanently?' : gettext('delete the collection permanently?'),
'delete the playlist permanently?' : gettext('delete the playlist permanently?'),
'delete the resource from the playlist permanently?' : gettext('delete the resource from the playlist permanently?'),
+ 'delete field' : gettext('delete field'),
+ 'final query' : gettext('final query'),
+ '(playlisted)' : gettext('(playlisted)'),
};
function gettrans(str){
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/search.css" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/lists_sorttable.css" media="print, projection, screen"/>
- <style>
-
- form p{
- display: inline-block;
- }
-
- .ui-front{
- z-index: 1000;
- }
-
- select[name*="startBracket"]{
- text-align: right;
- }
-
- </style>
{% endblock %}
{% block content %}
<form method="get" action=".">
{{form.instruments.errors}}
{% trans form.instruments.label_tag %}
{{form.instruments}}
- <a href="#" id="btn" class="col-md-5 btn btn-default" style="width: 100%; margin-top: 1%">Instruments : Recherche booléenne</a>
+ <a href="#" id="btn" class="col-md-5 btn btn-default" style="width: 100%; margin-top: 1%">{% trans "Instruments : Boolean Search" %}</a>
</div>
<div class="fieldWrapper">
{% endif %}
{% endfor %}
- <a class="btn btn-default" id="ajout" href="#">Ajouter champ</a>
- <br/><input type="submit" value="Valider la requête">
+ <a class="btn btn-default" id="ajout" href="#">{% trans "Add field" %}</a>
+ <br/><input type="submit" value="{% trans "Validate the query" %}">
</form>
$('#dialog').dialog("open");
});
- var supprButton = '<a class="btn btn-default" id="suppr" href="#">Supprimer champ</a><br/>';
+ var supprButton = '<a class="btn btn-default" id="suppr" href="#">'+gettrans('delete field')+'</a><br/>';
var balise = $('#copy').clone();
$(balise).children().each(function () {
$("#dialog").dialog("close");
$('#id_instruments').val(donnees.result);
}
- $('#res').html("Requête formée :<br/><strong>"+donnees.result+'</strong>');
+ $('#res').html(gettrans('final query')+" :<br/><strong>"+gettrans(donnees.result)+'</strong>');
},
});
});
<form id="_updateinstru" method="POST" action="{% url "telemeta-instrument-alias-update" %}">{% csrf_token %}
<table class="listing">
<thead>
- <tr><th class="sel"> </th><th>{% trans "Name"%}</th><th>Nombre d'items associés</th></tr>
+ <tr><th class="sel"> </th><th>{% trans "Name"%}</th><th>{% trans "Associated items" %}</th></tr>
</thead><tbody>
{% for record in instruments %}
<tr>
<form id="_updateinstru" method="POST" action="{% url "telemeta-instrument-update" %}">{% csrf_token %}
<table class="listing">
<thead>
- <tr><th class="sel"> </th><th>{% trans "Name"%}</th><th>Nombre d'items associés</th></tr>
+ <tr><th class="sel"> </th><th>{% trans "Name"%}</th><th>{% trans "Associated items" %}</th></tr>
</thead><tbody>
{% for record in instruments %}
<tr>
{% if user.is_authenticated %}
{% for playlist in playlists %}
{% if forloop.counter0 in rang_item_playliste %}
- playlistUtils.addPlaylist('{{ playlist.playlist.title }} (déjà listé)','{{playlist.playlist.public_id}}');
+ playlistUtils.addPlaylist('{{ playlist.playlist.title }}'+ gettrans('(playlisted)'),'{{playlist.playlist.public_id}}');
{% else %}
playlistUtils.addPlaylist('{{ playlist.playlist.title }}','{{playlist.playlist.public_id}}');
{% endif %}
def build_query_fragment(self, field, filter_type, value):
if isinstance(value, bool):
value = str(value)
- if field !='code':
+ if not isinstance(value, int) and field !='code':
value = re.sub(regexSpacePunc, " ", value)
valeur = super(CustomElasticSearchQuery, self).build_query_fragment(field, filter_type, value)
return valeur