~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/templates/launchpad-link.pt

  • Committer: Curtis Hovey
  • Date: 2011-08-18 20:56:37 UTC
  • mto: This revision was merged to the branch mainline in revision 13736.
  • Revision ID: curtis.hovey@canonical.com-20110818205637-ae0pf9aexdea2mlb
Cleaned up doctrings and hushed lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  xmlns:metal="http://xml.zope.org/namespaces/metal"
4
4
>
5
5
<tal:comment condition="nothing">
6
 
The disabled link is invisble since it has the "hidden" class, and it
 
6
The disabled link is invisble since it has display:none, and it
7
7
only appears when devmode is on, so that tests can more easily
8
8
verify that links are disabled.
9
9
</tal:comment>
10
10
<li tal:condition="not: context/enabled"
11
 
    class="hidden">
 
11
    style="display:none;">
12
12
  <strong
13
13
      tal:attributes="class string:menu-link-${context/name}-disabled;"><tal:link-text
14
14
      replace="structure context/escapedtext">Disabled text</tal:link-text>