~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div
  xmlns:tal="http://xml.zope.org/namespaces/tal"
  xmlns:metal="http://xml.zope.org/namespaces/metal"
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
  id="privacy"
  tal:attributes="
    class python: path('context/private') and 'portlet private' or 'portlet public'
  "
>
  <div tal:condition="not:context/private"
  >This branch is public</div>
  <div tal:condition="context/private">
      This branch is <strong>private</strong>
      <tal:msg condition="not:context/explicitly_private">
          because it is stacked on a private branch.
      </tal:msg>
  </div>
</div>