diff --git a/tailbone/templates/trainwreck/transactions/configure.mako b/tailbone/templates/trainwreck/transactions/configure.mako index 7cf03165..fd6c53a7 100644 --- a/tailbone/templates/trainwreck/transactions/configure.mako +++ b/tailbone/templates/trainwreck/transactions/configure.mako @@ -3,13 +3,44 @@ <%def name="form_content()"> +

Rotation

+
+ + + + Rotate Databases + + + + + + + + + + +
+

Hidden Databases

+

+ The selected DBs will be hidden from the DB picker when viewing + Trainwreck data. +

% for key, engine in six.iteritems(trainwreck_engines): ${key} diff --git a/tailbone/views/trainwreck/base.py b/tailbone/views/trainwreck/base.py index 163d17b0..509b4398 100644 --- a/tailbone/views/trainwreck/base.py +++ b/tailbone/views/trainwreck/base.py @@ -384,6 +384,19 @@ class TransactionView(MasterView): 'engines_data': engines_data, }) + def configure_get_simple_settings(self): + return [ + + # rotation + {'section': 'trainwreck', + 'option': 'use_rotation', + 'type': bool}, + {'section': 'trainwreck', + 'option': 'current_years', + 'type': int}, + + ] + def configure_get_context(self): context = super(TransactionView, self).configure_get_context()