[IMP] survey: add fa-pen icon to sections in question ListView
This commit adds an icon on hover of sections inside the questions ListView to indicate more clearly to the user that they can edit these lines. task-2988062 closes odoo/odoo#108731 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
</div>
|
||||
</t>
|
||||
</xpath>
|
||||
<xpath expr="//span[@t-esc='formattedValue']" position="after">
|
||||
<t t-if="props.record.data.is_page">
|
||||
<i class="fa fa-fw o_button_icon fa-pencil"/>
|
||||
</t>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
||||
@@ -142,6 +142,14 @@
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
.o_survey_form table.o_section_list_view tr.o_data_row.o_is_section {
|
||||
&:hover i {
|
||||
visibility: visible;
|
||||
}
|
||||
&:not(:hover) i {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
// TOOLS
|
||||
.icon_rotates {
|
||||
|
||||
Reference in New Issue
Block a user