Index: trunk/phase3/templates/xhtml_slim.pt |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | <h3 id="siteSubtitle" i18n:translate="string:fromwikipedia">From Wikipedia, the free encyclopedia.</h3> |
37 | 37 | <div tal:condition="subtitle" id="documentSubtitle" tal:content="structure subtitle"></div> |
38 | 38 | <!-- <esi:include src="userxy/message"/> cached per user, purged on new message--> |
39 | | - <div tal:condition="newtalk" class="portalMessage" tal:content="newtalk"></div> |
| 39 | + <div tal:condition="newtalk" class="portalMessage" tal:content="structure newtalk"></div> |
40 | 40 | <!-- the content area is cached with the remaining inexpensive sceleton, one version for all. |
41 | 41 | The edit links and right-click section stuff can be attached from js --> |
42 | 42 | <!-- start content --> |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | <ul> |
59 | 59 | <li tal:repeat="action content_actions" |
60 | 60 | tal:attributes="id string:contentaction-${repeat/action/key}; class action/class|default"><a |
61 | | - tal:attributes="title action/ttip|default; accesskey action/akey|default;href action/href|default" |
| 61 | + tal:attributes="title action/ttip|default;accesskey action/akey|default;href action/href|default" |
62 | 62 | tal:content="action/text">Linktext</a></li> |
63 | 63 | </ul> |
64 | 64 | </div> |
— | — | @@ -87,12 +87,18 @@ |
88 | 88 | <li><a href="${nav_urls/mainpage/href}" |
89 | 89 | i18n:attributes="accesskey string:accesskey-mainpage | default; title string:tooltip-mainpage" |
90 | 90 | i18n:translate="string:mainpage">Main Page</a></li> |
| 91 | + <li tal:condition="nav_urls/portal/href"><a href="${nav_urls/portal/href}" |
| 92 | + i18n:attributes="accesskey string:accesskey-portal | default; title string:tooltip-portal|default" |
| 93 | + i18n:translate="string:portal">Community Portal</a></li> |
| 94 | + <li tal:condition="nav_urls/currentevents/href"><a href="${nav_urls/currentevents/href}" |
| 95 | + i18n:attributes="title string:tooltip-currentevents|default" |
| 96 | + i18n:translate="string:currentevents">Current Events</a></li> |
91 | 97 | <li><a href="${nav_urls/randompage/href}" |
92 | 98 | i18n:attributes="accesskey string:accesskey-randompage | default; title string:tooltip-randompage" |
93 | 99 | i18n:translate="string:randompage">Random Page</a></li> |
94 | | - <li tal:condition="${nav_urls/currentevents/href}"><a href="${nav_urls/currentevents/href}" |
95 | | - i18n:attributes="title string:tooltip-currentevents|default" |
96 | | - i18n:translate="string:currentevents">Current Events</a></li> |
| 100 | + <li><a href="${nav_urls/help/href}" |
| 101 | + i18n:attributes="title string:tooltip-help|default" |
| 102 | + i18n:translate="string:help">Help</a></li> |
97 | 103 | <li><a href="${nav_urls/sitesupport/href}" |
98 | 104 | i18n:attributes="title string:tooltip-sitesupport|default" |
99 | 105 | i18n:translate="string:sitesupport">Donations</a></li> |
— | — | @@ -122,18 +128,15 @@ |
123 | 129 | <div class="portletBody"> |
124 | 130 | <div class="portletContent odd"> |
125 | 131 | <ul> |
126 | | - <li><a href="${nav_urls/help/href}" |
127 | | - i18n:attributes="title string:tooltip-help|default" |
128 | | - i18n:translate="string:help">Help</a></li> |
129 | 132 | <li><a href="${nav_urls/recentchanges/href}" |
130 | 133 | i18n:attributes="accesskey string:accesskey-recentchanges|default; title string:tooltip-recentchanges|default" |
131 | 134 | i18n:translate="string:recentchanges">Recent Changes</a></li> |
| 135 | + <li><a href="${nav_urls/whatlinkshere/href}" |
| 136 | + i18n:attributes="accesskey string:accesskey-whatlinkshere|default; title string:tooltip-whatlinkshere|default" |
| 137 | + i18n:translate="string:whatlinkshere">What links here</a></li> |
132 | 138 | <li><a href="${nav_urls/recentchangeslinked/href}" |
133 | 139 | i18n:attributes="title string:tooltip-recentchangeslinked | default" |
134 | 140 | i18n:translate="string:recentchangeslinked">Related Changes</a></li> |
135 | | - <li><a href="${nav_urls/whatlinkshere/href}" |
136 | | - i18n:attributes="accesskey string:accesskey-whatlinkshere|default; title string:tooltip-whatlinkshere|default" |
137 | | - i18n:translate="string:whatlinkshere">What links here</a></li> |
138 | 141 | <li><a href="${nav_urls/specialpages/href}" |
139 | 142 | i18n:attributes="title string:tooltip-specialpages|default" |
140 | 143 | i18n:translate="string:specialpages">Special Pages</a></li> |