Set prefix for CSS classes, timesheet app

This commit is contained in:
Hadi Nategh 2013-09-03 14:42:46 +00:00
parent 93b7d48905
commit d0f967bdd8
3 changed files with 5 additions and 8 deletions

View File

@ -724,7 +724,7 @@ class timesheet_ui extends timesheet_bo
$row['ts_start'] = $row['ts_unitprice'] = '';
if (!$this->quantity_sum) $row['ts_quantity'] = '';
$row['class'] = 'th';
$row['titleClass'] = 'titleSum';
$row['titleClass'] = 'timesheet_titleSum';
unset($row['ts_id']); // otherwise row would be selectable action-wise
continue;
}
@ -770,7 +770,7 @@ class timesheet_ui extends timesheet_bo
}
else
{
$row['titleClass'] = 'titleDetails';
$row['titleClass'] = 'timesheet_titleDetails';
}
}
if (!$have_cats || $query['cat_id']) $rows['no_cat_id'] = true;

View File

@ -1,5 +1,2 @@
/* $Id$ */
.redItalic { color: red; font-style: italics; }
.titleSum,.titleDetails { font-weight: bold; }
.noWrap { white-space: nowrap; }
.width100 { width: 100%; }
.timesheet_titleSum,.timesheet_titleDetails { font-weight: bold; }

View File

@ -1,8 +1,8 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="timesheet.index.dates" template="" lang="" group="0" version="1.2.001">
<hbox cols="1" rows="1" class="custom_hide">
<template id="timesheet.index.dates" template="" lang="" group="0" version="1.2.001" >
<hbox cols="1" rows="1" >
<description value="Start"/>
<date id="startdate"/>
<description value="End"/>