summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src/xml
diff options
context:
space:
mode:
authorAntoine Huvelle <ahu@openerp.com>2011-12-26 17:37:35 +0100
committerAntoine Huvelle <ahu@openerp.com>2011-12-26 17:37:35 +0100
commit12df615818cefc532acfec0590cac2b2226328cc (patch)
treeda60c702195bf71b5ad18edafaa8c09256770972 /addons/web_dashboard/static/src/xml
parent8c60adf5a9d55d8b40b037b4bfac7d490662ef3d (diff)
[imp] before merge
bzr revid: ahu@openerp.com-20111226163735-o53sk7407fuh3w67
Diffstat (limited to 'addons/web_dashboard/static/src/xml')
-rw-r--r--addons/web_dashboard/static/src/xml/web_dashboard.xml20
1 files changed, 13 insertions, 7 deletions
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml
index c623c94f9ee..84b14f91604 100644
--- a/addons/web_dashboard/static/src/xml/web_dashboard.xml
+++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml
@@ -106,22 +106,28 @@
<t t-name="web_dashboard.ApplicationTiles">
<div>
- <h1 class="welcome_message">Welcome to OpenERP</h1>
<div class="oe_applications_tiles">
- <h1>Welcome to OpenERP</h1>
+ <h1 class="oe_welcome_message">Welcome to OpenERP</h1>
</div>
</div>
</t>
<div t-name="web_dashboard.ApplicationInstaller">
- <div class="initial_welcome_message">
+ <div class="oe_initial_welcome_message">
<ul>
- <li>Remember to bookmark <a href="javascript:if(document.all) window.external.AddFavorite(location.href,document.title); else if(window.sidebar) window.sidebar.addPanel (document.title,location.href,'');">this page.</a></li>
- <li>Remember your login: <t t-esc="widget.session.username"/></li>
+ <li>Remember to bookmark
+ <a class="oe_welcome_url" href="#">
+ This url
+ </a>
+ </li>
+ <li>Your login: <t t-esc="widget.session.username"/></li>
</ul>
- <h3>Please choose the first application to install.</h3>
</div>
<div class="oe_installer" />
</div>
-
+<t t-extend="web_dashboard.ApplicationInstaller">
+ <t t-jquery=".oe_welcome_url">
+ this.attr('href', window.location.host);
+ </t>
+</t>
</template>