aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r--resources/tools/presentation/generator_tables.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 239e20e300..b9a920ab32 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -317,6 +317,8 @@ def table_details(table, input_data):
try:
col_data = str(data[job][build][test][column[
u"data"].split(" ")[1]]).replace(u'"', u'""')
+ if column[u"data"].split(u" ")[1] in (u"name", ):
+ col_data = f" |prein| {col_data} |preout| "
if column[u"data"].split(u" ")[1] in \
(u"conf-history", u"show-run"):
col_data = col_data.replace(u" |br| ", u"", 1)
@@ -391,6 +393,8 @@ def table_merged_details(table, input_data):
col_data = col_data.replace(
u"No Data", u"Not Captured "
)
+ if column[u"data"].split(u" ")[1] in (u"name", ):
+ col_data = f" |prein| {col_data} |preout| "
if column[u"data"].split(u" ")[1] in \
(u"conf-history", u"show-run"):
col_data = col_data.replace(u" |br| ", u"", 1)