From d1f46ab48db1d1139999dad6286e366b3554d61f Mon Sep 17 00:00:00 2001 From: avalanchy Date: Thu, 26 Oct 2017 17:34:43 +0200 Subject: [PATCH] Document 'divided' option --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7d1218c..2e2bd18 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ Installation 'url': reverse('convert_stuff', args=[obj.id]), 'tooltip': 'Convert stuff', }, { + 'divided': True, 'label': 'Cancel', 'action': 'mark_cancelled', }, @@ -74,6 +75,8 @@ The final one defines 'action' instead of 'url'. This should be the name of a ca You can add mouseover tooltips to each individual actions with the 'tooltip' dictionary key, and enable/disable individual actions for each individual object with the 'enabled'. +Special option 'divided' can be passed to any item to display horizontal rule above it. + Credits =======