@@ -187,7 +187,7 @@
|
||||
<li ><a type="delete">Delete</a></li>
|
||||
<li>
|
||||
<ul class="color-chooser">
|
||||
<li><a t-att-id="record.id.value" class="bgcolor_white"><span class="white square"></span></a></li>
|
||||
<li><a t-att-id="record.id.value" class="bgcolor_white"><span class="white square"></span></a></li>
|
||||
<li><a t-att-id="record.id.value" class="bgcolor_steelblue"><span class="steelblue square"></span></a></li>
|
||||
<li><a t-att-id="record.id.value" class="bgcolor_firebrick"><span class="firebrick square"></span></a></li>
|
||||
<li><a t-att-id="record.id.value" class="bgcolor_khaki"><span class="khaki square"></span></a></li>
|
||||
@@ -197,13 +197,13 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h4><t t-esc="record.name.value.substr(0,32)"/><t t-if="record.name.value.length > 32">...</t></h4>
|
||||
<h4 id="list" height="10px">
|
||||
<div id="list">
|
||||
<a id="1">
|
||||
<t t-if="record.task.raw_value">
|
||||
<button name="open_tasks" id = "open_tasks" class="oe_project_buttons" type="object"><div class="fontsize"><t t-if="record.open_task.value <= 1"> Task</t><t t-if="record.open_task.value > 1"> Tasks</t>(<t t-esc="record.open_task.value"/>)</div></button>
|
||||
</t>
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<button class="click_button" type="object">
|
||||
<table class="project_fields">
|
||||
<tr id="deadline" t-if="record.date.raw_value">
|
||||
@@ -222,13 +222,10 @@
|
||||
</tr>
|
||||
</table>
|
||||
<t t-if="record.members.raw_value.length <= 7"><br/><br/><br/></t>
|
||||
<t t-if="record.members.raw_value.length > 7 and record.members.raw_value.length <= 14"><br/><br/></t>
|
||||
|
||||
|
||||
<t t-if="record.members.raw_value.length > 7 and record.members.raw_value.length <= 14"><br/></t>
|
||||
<t t-foreach="record.members.raw_value" t-as="member">
|
||||
<img t-att-src="kanban_image('res.users', 'avatar', member)" t-att-id="member" class="project_avatar"/>
|
||||
</t>
|
||||
|
||||
</button>
|
||||
</li>
|
||||
</div>
|
||||
|
||||
@@ -8,10 +8,9 @@
|
||||
font-style: normal; }
|
||||
|
||||
.project_fields {
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
/* font-size: 11px;
|
||||
*/ }
|
||||
font-family:Helvetica;
|
||||
font-size: 12px;
|
||||
}
|
||||
.project_fields td {
|
||||
border: none;
|
||||
padding: 2px 0 2px 8px; }
|
||||
@@ -20,12 +19,7 @@
|
||||
border-right: 1px solid #dddddd;
|
||||
vertical-align: top;
|
||||
margin-right: 8px; }
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
font-size: 13px;
|
||||
border-collapse: collapse; }
|
||||
|
||||
|
||||
.project_vignettes {
|
||||
margin: 4px; }
|
||||
.project_vignettes li {
|
||||
@@ -84,11 +78,9 @@ table {
|
||||
min-height: 175px;
|
||||
min-width: 265px;
|
||||
border: hidden;
|
||||
margin-left: -6px !important;
|
||||
margin-top: -3px !important;
|
||||
margin-left: -7px !important;
|
||||
text-align: left;
|
||||
vertical-align: super;
|
||||
font-size: 11px;
|
||||
-webkit-box-align: baseline;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
|
||||
@@ -363,7 +363,7 @@
|
||||
<field name="issues"/>
|
||||
<field name="total_issues" invisible="1"/>
|
||||
</field>
|
||||
<xpath expr="//h4[@id='list']" position="inside">
|
||||
<xpath expr="//div[@id='list']" position="inside">
|
||||
<a id="2">
|
||||
<t t-if="record.issues.raw_value">
|
||||
<button name="open_issues" class="oe_project_buttons" type="object"><div class="fontsize"><t t-if="record.total_issues.value <= 1"> Issue</t><t t-if="record.total_issues.value > 1"> Issues</t>(<t t-esc="record.total_issues.value"/>)</div></button>
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
<field name="phases"/>
|
||||
<field name="open_phases"/>
|
||||
</field>
|
||||
<xpath expr="//h4[@id='list']" position="inside">
|
||||
<xpath expr="//div[@id='list']" position="inside">
|
||||
<a id="4">
|
||||
<t t-if="record.phases.raw_value">
|
||||
<button name="open_phase" class="oe_project_buttons" type="object"><div class="fontsize"><t t-if="record.open_phases.value <= 1"> Phase</t><t t-if="record.open_phases.value > 1"> Phases</t>(<t t-esc="record.open_phases.value"/>)</div></button>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<field name="total_timesheet"/>
|
||||
<field name="currency_id"/>
|
||||
</field>
|
||||
<xpath expr="//h4[@id='list']" position="inside">
|
||||
<xpath expr="//div[@id='list']" position="inside">
|
||||
<a id="3">
|
||||
<t t-if="record.timesheets.raw_value">
|
||||
<button name="open_timesheets" class="oe_project_buttons" type="object"><div class="fontsize"><t t-if="record.total_timesheet.value <= 1"> Timesheet</t><t t-if="record.total_timesheet.value > 1"> Timesheets</t>(<t t-esc="record.total_timesheet.value"/>)</div></button>
|
||||
|
||||
Reference in New Issue
Block a user