From 253d6d1f4732ee11ddb423155dfb0142cb8d354b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Fri, 9 May 2014 17:20:00 +0200 Subject: [PATCH] display evaluation help text --- src/clients/inst_scc.rb | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/clients/inst_scc.rb b/src/clients/inst_scc.rb index 637d02287..705f8c462 100644 --- a/src/clients/inst_scc.rb +++ b/src/clients/inst_scc.rb @@ -486,11 +486,20 @@ def addon_regcodes_dialog_content(addons) box1 = addon_regcode_items(addons) end - HBox( - HSpacing(Opt(:hstretch), 3), - box1, - box2 ? box2 : Empty(), - HSpacing(Opt(:hstretch), 3) + VBox( + (UI.TextMode && addons.size > 4) ? Empty() : + VBox( + Label(_("Please enter a registration code for each of the Extension listed below.\n" + + "In case you do not have a registration code for an extension you will\n" + + "be granted a 60 day evolution period.")), + VSpacing(1) + ), + HBox( + HSpacing(Opt(:hstretch), 3), + box1, + box2 ? box2 : Empty(), + HSpacing(Opt(:hstretch), 3) + ) ) end