misc: use eight dots to mark draggable items

This commit is contained in:
Frédéric Péters 2016-06-13 16:54:31 +02:00
parent 8f10a5c134
commit 5ae674eef6
3 changed files with 5 additions and 5 deletions

View File

@ -203,7 +203,7 @@ class FieldsDirectory(Directory):
r += htmltext(_('In a multipage form, the first field should be of type "page".'))
r += htmltext('</div>')
r += htmltext('<p class="hint">%s</p>') % _('Use drag and drop with the handles to reorder items.')
r += htmltext('<p class="hint">%s</p>') % _('Use drag and drop with the handles to reorder items.')
if self.page_no is not None:
r += htmltext('<p>')
r += htmltext('<a href="../../">%s</a>') % _('Display all pages')

View File

@ -425,7 +425,7 @@ class WorkflowStatusPage(Directory):
r += htmltext('<ul id="items-list" class="biglist">')
else:
r += htmltext('<p class="hint">')
r += _('Use drag and drop with the handles to reorder items.')
r += _('Use drag and drop with the handles to reorder items.')
r += htmltext('</p>')
r += htmltext('<ul id="items-list" class="biglist sortable">')
for i, item in enumerate(self.status.items):
@ -1080,7 +1080,7 @@ class GlobalActionPage(WorkflowStatusPage):
r += htmltext('<ul id="items-list" class="biglist">')
else:
r += htmltext('<p class="items">')
r += _('Use drag and drop with the handles to reorder items.')
r += _('Use drag and drop with the handles to reorder items.')
r += htmltext('</p>')
r += htmltext('<ul id="items-list" class="biglist sortable">')
for i, item in enumerate(self.action.items):
@ -1326,7 +1326,7 @@ class WorkflowPage(Directory):
else:
if not str(self.workflow.id).startswith(str('_')):
r += htmltext('<p class="hint">')
r += _('Use drag and drop with the handles to reorder status.')
r += _('Use drag and drop with the handles to reorder status.')
r += htmltext('</p>')
r += htmltext('<ul id="status-list" class="biglist sortable">')
else:

View File

@ -6,7 +6,7 @@ $(document).ready(
$('#main-content').css('overflow', 'inherit');
}
$('ul.biglist.sortable li').each(function(i, elem) {
$('<span class="handle"></span>').prependTo(elem);
$('<span class="handle"></span>').prependTo(elem);
});
$('ul.biglist.sortable').sortable(
{