This commit improves the karma rank layout displayed on the courses home page and on the user profile. Task #2003222
49 lines
2.1 KiB
XML
49 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo><data noupdate="0">
|
|
<!-- Set demo karma for test tour as demo user-->
|
|
<record id="base.user_demo" model="res.users">
|
|
<field name="karma">20</field>
|
|
</record>
|
|
<record id="base.demo_user0" model="res.users">
|
|
<field name="karma">10</field>
|
|
</record>
|
|
|
|
<!--Ranks-->
|
|
<record id="rank_student" model="gamification.karma.rank">
|
|
<field name="description_motivational" type="html">
|
|
<div class="media align-items-center">
|
|
<div class="media-body">Reach the next rank and gain a very nice mug !</div>
|
|
<img class="ml-3 img img-fluid" style="max-height: 72px;" src="/gamification/static/img/rank_misc_mug.png"/>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="rank_bachelor" model="gamification.karma.rank">
|
|
<field name="description_motivational" type="html">
|
|
<div class="media align-items-center">
|
|
<div class="media-body">Reach the next rank and gain a very magic wand !</div>
|
|
<img class="ml-3 img img-fluid" style="max-height: 72px;" src="/gamification/static/img/rank_misc_wand.png"/>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="rank_master" model="gamification.karma.rank">
|
|
<field name="description_motivational" type="html">
|
|
<div class="media align-items-center">
|
|
<div class="media-body">Reach the next rank and gain a very nice hat !</div>
|
|
<img class="ml-3 img img-fluid" style="max-height: 72px;" src="/gamification/static/img/rank_misc_hat.png"/>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="rank_doctor" model="gamification.karma.rank">
|
|
<field name="description_motivational" type="html">
|
|
<div class="media align-items-center">
|
|
<div class="media-body">You have reached the last rank. Congratulations!</div>
|
|
<img class="ml-3 img img-fluid" style="max-height: 72px;" src="/gamification/static/img/rank_misc_unicorn.png"/>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
</data></odoo>
|