diff options
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-02-20 21:18:49 +0000 |
---|---|---|
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-02-20 21:18:49 +0000 |
commit | 7b07d435a62ce952021ad666798125b0fd46986a (patch) | |
tree | 2c2a8912815fb9a24d9188f63644f140dee03dc3 /tko/compose_query.cgi | |
parent | eacc6d3b8699d0fd0cb68269bedbd846cd9e34a4 (diff) |
A few display changes to tko
1. Colors augmentation
2. fix insert_break_into_kernel_name
3. / to prevent line break just before or just after /
From: Vladimir Samarskiy <vsamarsk@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1254 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/compose_query.cgi')
-rwxr-xr-x | tko/compose_query.cgi | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tko/compose_query.cgi b/tko/compose_query.cgi index a21516fd..6e7aef33 100755 --- a/tko/compose_query.cgi +++ b/tko/compose_query.cgi @@ -141,11 +141,8 @@ def create_select_options(selected_val): def insert_break_into_kernel_name(kernel_name): ## insert <br> after each / in kernel name ## but spare consequtive // - - ## temporary stubed - #kernel_name = kernel_name.replace('//',';;') - #kernel_name = kernel_name.replace('/','/<br>') - #kernel_name = kernel_name.replace(';;','//') + kernel_name = kernel_name.replace('/','/<br>') + kernel_name = kernel_name.replace('/<br>/<br>','//') return kernel_name |