[IMP] better UI
bzr revid: mat@openerp.com-20130412135233-wek9hcbnufost0tf
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<group>
|
||||
<field name="user_id" nolabel="1" />
|
||||
<field name="badge_id" invisible="1"/>
|
||||
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters" />
|
||||
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" />
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Grant Badge" type="object" name="action_grant_badge" class="oe_highlight" /> or
|
||||
|
||||
@@ -101,13 +101,13 @@
|
||||
<filter name="my" string="My Goals" domain="[('user_id', '=', uid)]"/>
|
||||
<separator/>
|
||||
<filter name="draft" string="Draft" domain="[('state', '=', 'draft')]"/>
|
||||
<filter name="inprogress" string="Opened"
|
||||
<filter name="inprogress" string="Current"
|
||||
domain="[
|
||||
'|',
|
||||
('state', 'in', ('inprogress', 'inprogress_update')),
|
||||
('end_date', '>=', context_today().strftime('%%Y-%%m-%%d'))
|
||||
('state', 'in', ('inprogress', 'inprogress_update')),
|
||||
('end_date', '>=', context_today().strftime('%%Y-%%m-%%d'))
|
||||
]"/>
|
||||
<filter name="closed" string="Closed" domain="[('state', 'in', ('reached', 'failed'))]"/>
|
||||
<filter name="closed" string="Passed" domain="[('state', 'in', ('reached', 'failed'))]"/>
|
||||
<separator/>
|
||||
|
||||
<field name="user_id"/>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<group>
|
||||
<field name="employee_id" nolabel="1" domain="[('user_id', '!=', False)]" />
|
||||
<field name="badge_id" invisible="1"/>
|
||||
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters" />
|
||||
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" />
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Grant Badge" type="object" name="action_grant_badge" class="oe_highlight" /> or
|
||||
@@ -35,7 +35,7 @@
|
||||
<group>
|
||||
<field name="employee_id" invisible="1" />
|
||||
<field name="badge_id" nolabel="1" colspan="4" />
|
||||
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters" />
|
||||
<field name="comment" nolabel="1" placeholder="Describe what they did and why it matters (will be public)" />
|
||||
</group>
|
||||
<footer>
|
||||
<button string="Reward Employee" type="object" name="action_grant_badge" class="oe_highlight" /> or
|
||||
|
||||
Reference in New Issue
Block a user