~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/templates/buglisting-default.pt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-07 04:56:36 UTC
  • mfrom: (14443.1.4 external-bugs)
  • Revision ID: launchpad@pqm.canonical.com-20111207045636-swdc5437km7787kx
[r=sinzui][bug=900603] Migrate external bugtracker config stuff from
        +bugs-index to +bugs, and drop +bugs-index.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
<body>
32
32
 
33
33
  <div metal:fill-slot="main">
 
34
    <div
 
35
      tal:condition="not: view/bug_tracking_usage/enumvalue:LAUNCHPAD"
 
36
      class="top-portlet">
 
37
      <p id="no-malone"
 
38
        tal:condition="view/bug_tracking_usage/enumvalue:UNKNOWN">
 
39
        <strong tal:condition="view/can_have_external_bugtracker">
 
40
          <tal:displayname replace="context/displayname" />
 
41
          must be configured in order for Launchpad to forward bugs to
 
42
          the project's developers.
 
43
        </strong>
 
44
        <strong tal:condition="not: view/can_have_external_bugtracker">
 
45
          <tal:displayname replace="context/displayname" />
 
46
          does not use Launchpad for bug tracking.
 
47
        </strong>
 
48
      </p>
 
49
 
 
50
      <p tal:condition="view/external_bugtracker"
 
51
        id="bugtracker">
 
52
        <strong>Bugs are tracked in
 
53
          <tal:bugtracker replace="structure view/bugtracker" />.
 
54
        </strong>
 
55
      </p>
 
56
 
 
57
      <a id="getting-started-help"
 
58
         class="sprite maybe"
 
59
         href="https://help.launchpad.net/Bugs">
 
60
        Getting started with bug tracking in Launchpad</a>.
 
61
 
 
62
      <p tal:condition="context/required:launchpad.Edit"
 
63
         tal:define="configure_bugtracker context/menu:overview/configure_bugtracker | nothing"
 
64
         id="no-malone-edit"
 
65
         >
 
66
        <a tal:condition="configure_bugtracker"
 
67
          tal:replace="structure configure_bugtracker/fmt:link"/>
 
68
        <a class="sprite edit"
 
69
          tal:condition="not: configure_bugtracker"
 
70
          tal:attributes="href string:${context/fmt:url/+edit}">
 
71
          Enable bug tracking.</a>
 
72
      </p>
 
73
    </div>
34
74
    <div tal:condition="not: view/bug_tracking_usage/enumvalue:UNKNOWN"
35
75
         class="top-portlet">
36
76
      <tal:is_project_group condition="view/_projectContext">
82
122
      </div>
83
123
 
84
124
    </div>
85
 
    <div tal:condition="view/bug_tracking_usage/enumvalue:UNKNOWN"
86
 
          class="top-portlet">
87
 
      <p>
88
 
        <strong>
89
 
          <tal:displayname replace="context/displayname" />
90
 
          does not use Launchpad for bug tracking.
91
 
        </strong>
92
 
      </p>
93
 
      <p id="getting-started-help">
94
 
        <a class="sprite maybe"
95
 
          href="https://help.launchpad.net/Bugs">Getting started
96
 
        with bug tracking in Launchpad</a>.
97
 
      </p>
98
 
    </div>
99
125
  </div>
100
126
 
101
127
  <tal:side metal:fill-slot="side">