PHRAS-3148 improve thesaurus guy

This commit is contained in:
Harrys Ravalomanana
2020-06-30 18:56:21 +04:00
parent 5436a068e4
commit 9e3d9f9c7d
13 changed files with 121 additions and 114 deletions

View File

@@ -65,9 +65,7 @@
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>{{ 'thesaurus:: synonymes' | trans }}</th>
<th>{{ 'thesaurus:: hits' | trans }}</th>
<th>{{ 'thesaurus:: ids' | trans }}</th>
<th></th>
<th colspan="3">{{ 'thesaurus:termePorperties:termeId' | trans }}</th>
</tr>
</thead>
</table>
@@ -98,7 +96,6 @@
<td id='FLG_{{ data['id'] }}'></td>
{% endif %}
<td>{{ data['t'] }}</td>
<td>{{ data['hits'] }}</td>
<td>{{ data['id'] }}</td>
<td><span class="delete_term"></span></td>
</tr>

View File

@@ -223,7 +223,7 @@
<br/>
<div id="id_thbox_bck" class="thbox" style="position:absolute; top:28px; left:8px; right:8px; bottom:8px; background-color:#f4f4f4; xoverflow:hidden">
<div class="populate_btn_wrapper">
<a class="populate_btn btn btn-primary" id="populate_btn">Populate</a>
<a class="populate_btn btn btn-primary" id="populate_btn">{{ 'thesaurus:: populate button' | trans }}</a>
</div>
<div style="display: none">
<div id="confirm_populate">
@@ -1535,6 +1535,8 @@
$('.cancel_button').click(function () {
$('.close-dialog').trigger('click');
});
$('#CTERMS').find('.OB').addClass('ob').removeClass('OB');
$('#THP_C').html('+');
}