mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[ADD][12.0] base_user_role_profile: Add to 12.0
fixup! Logic and permissions fixes, new demo module, changes JS-side that reloads in a cleaner way on profile change fixup! removed unused imports, beautified JS fixup! Test coverage increase [FIX] Use write instead of assignment operator on create function: assignment on multiple records raises error fixup! Removed leftover copyright Apply suggestions from code review Co-Authored-By: David Beal <david.beal@akretion.com>
This commit is contained in:
committed by
Sébastien BEAU
parent
efe0a694df
commit
0422b83c31
13
base_user_role_profile/static/src/xml/templates.xml
Normal file
13
base_user_role_profile/static/src/xml/templates.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="SwitchProfileMenu">
|
||||
<li class="o_switch_profile_menu">
|
||||
<a role="button" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="#" aria-label="Dropdown menu" title="Dropdown menu">
|
||||
<span t-attf-class="#{widget.isMobile ? 'fa fa-building-o' : 'oe_topbar_name'}"/>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right" role="menu"/>
|
||||
</li>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user