standardisation de l'utilisation de rootUrl()
This commit is contained in:
parent
882f060582
commit
ae6aa1e062
|
@ -19,7 +19,7 @@
|
|||
<h1 id="header" tal:content="str(virtualHost)">Site title</h1>
|
||||
|
||||
<ul id="navigation" tal:define="mR getMainRubric()">
|
||||
<li><a href="/" tal:translate="">Home</a></li>
|
||||
<li><a tal:attributes="href rootUrl()" tal:translate="">Home</a></li>
|
||||
<li tal:condition="mR and mR.membersSet" tal:repeat="r mR.membersSet"><a tal:attributes="href r.getUrl()" tal:content="r.label">label</a></li>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<div id="banner">
|
||||
<div id="eeorg">
|
||||
<a href="/"><img width="" height="" border="0" tal:attributes="alt str(virtualHost)" src="/images/ee_org.png" /></a>
|
||||
<a tal:attributes="href rootUrl()"><img width="" height="" border="0" tal:attributes="alt str(virtualHost)" src="/images/ee_org.png" /></a>
|
||||
</div>
|
||||
<div id="toolbar">
|
||||
<span metal:use-macro="buttons.tal/preferences" />
|
||||
|
@ -51,7 +51,7 @@
|
|||
|
||||
<div id="navigation">
|
||||
<div id="logo">
|
||||
<a href="/"><img width="77" height="74" alt="Mr Eggs" src="/images/mr_egg.png" /></a>
|
||||
<a tal:attributes="href rootUrl()"><img width="77" height="74" alt="Mr Eggs" src="/images/mr_egg.png" /></a>
|
||||
</div>
|
||||
<!--
|
||||
<div class="search">
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<h1 id="logo">Glasnost</h1>
|
||||
|
||||
<ul id="nav" tal:define="mR getMainRubric()">
|
||||
<li><strong><a tal:attributes="href X.rootUrl()" tal:translate="">Home</a></strong></li>
|
||||
<li><strong><a tal:attributes="href rootUrl()" tal:translate="">Home</a></strong></li>
|
||||
<li tal:condition="mR and mR.membersSet" tal:repeat="r mR.membersSet"><strong tal:condition="r.serverRole == 'rubrics'" tal:content="r.label">label</strong><strong tal:condition="r.serverRole != 'rubrics'"><a tal:attributes="href r.getUrl()" tal:content="r.label">label</a></strong>
|
||||
<ul tal:condition="r.serverRole == 'rubrics' and r.membersSet">
|
||||
<li tal:repeat="r2 r.membersSet"><a tal:attributes="href r2.getUrl()" tal:content="r2.label">label item</a></li>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<h2><a href="/" tal:reroot="href" tal:translate="">Home</a></h2>
|
||||
-->
|
||||
<div id="labor-liber">
|
||||
<a href="/" title="labor-liber.net"><img src="/images/ll.png" alt="labor-liber"/></a>
|
||||
<a tal:attributes="href rootUrl()" title="labor-liber.net"><img src="/images/ll.png" alt="labor-liber"/></a>
|
||||
</div>
|
||||
|
||||
<div class="cadre-glasnost" tal:condition="user">
|
||||
|
|
Reference in New Issue