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

View File

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

View File

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