~mbp/kanban/720563-privacy

« back to all changes in this revision

Viewing changes to kanban/templates/kanban.html

Merged improve-project-visibility [f=711556]

The project name for tile is now displayed underneath the bug number,
status and assignee.  It's easy to see at a glance and avoids the
truncation issues present with the previous vertical presentation.
The warning and danger icons have been moved to horizontally align
with the project name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
        {% for bug in story.queued %}
36
36
          <div class="tile">
37
 
            <div class="project">{{ bug.project }}</div>
38
37
          {% if bug.assignee %}
39
38
            <span class="assignee">{{ bug.assignee }}</span>
40
39
          {% endif %}
41
40
            <a href="https://bugs.launchpad.net/bugs/{{ bug.id }}">#{{ bug.id }}</a> <span class="{{ bug.importance|importance_css_class }}">{{ bug.importance }}</span>
42
41
            <br/>
43
 
            <br/>
 
42
            <div class="project">{{ bug.project }}</div>
44
43
            <div>{{ bug.title }}</div>
45
44
          {% if bug.branch %}
46
 
            <br/>
47
45
            <div class="merge-proposal"><a href="{{ bug|branch_url }}">{{ bug.branch|branch_name }}</a></div>
48
46
          {% endif %}
49
47
          </div>
55
53
 
56
54
        {% for bug in story.in_progress %}
57
55
          <div class="tile">
58
 
            <div class="project">{{ bug.project }}</div>
59
56
          {% if bug.assignee %}
60
57
            <span class="assignee">{{ bug.assignee }}</span>
61
58
          {% endif %}
62
59
            <a href="https://bugs.launchpad.net/bugs/{{ bug.id }}">#{{ bug.id }}</a> <span class="{{ bug.importance|importance_css_class }}">{{ bug.importance }}</span>
63
60
            <br/>
64
 
            <br/>
65
61
            <div>
66
62
            {% if bug|danger %}
67
 
              <span style="float: right;">
68
 
                <img src="media/danger.png"
69
 
                     title="In progress for more than 7 days" />
70
 
              </span>
 
63
              <img class="warning" src="media/danger.png"
 
64
                   title="In progress for more than 7 days" />
71
65
            {% elif bug|warn %}
72
 
              <span style="float: right;">
73
 
                <img src="media/warning.png"
74
 
                     title="In progress for more than 3 days" />
75
 
              </span>
 
66
              <img class="warning" src="media/warning.png"
 
67
                   title="In progress for more than 3 days" />
76
68
            {% endif %}
 
69
              <div class="project">{{ bug.project }}</div>
 
70
            </div>
 
71
            <div>
77
72
              {{ bug.title }}
78
73
            </div>
79
74
          {% if bug.branch %}
80
 
            <br/>
81
75
            <div class="merge-proposal"><a href="{{ bug|branch_url }}">{{ bug.branch|branch_name }}</a></div>
82
76
          {% endif %}
83
77
          </div>
89
83
 
90
84
        {% for bug in story.needs_review %}
91
85
          <div class="tile">
92
 
            <div class="project">{{ bug.project }}</div>
93
86
          {% if bug.assignee %}
94
87
            <span class="assignee">{{ bug.assignee }}</span>
95
88
          {% endif %}
96
89
            <a href="https://bugs.launchpad.net/bugs/{{ bug.id }}">#{{ bug.id }}</a> <span class="{{ bug.importance|importance_css_class }}">{{ bug.importance }}</span>
97
90
            <br/>
98
 
            <br/>
99
91
            <div>
100
92
            {% if bug|danger %}
101
 
              <span style="float: right;">
102
 
                <img src="media/danger.png"
103
 
                     title="In review queue for more than 3 days" />
104
 
              </span>
 
93
              <img class="warning" src="media/danger.png"
 
94
                   title="In review queue for more than 3 days" />
105
95
            {% elif bug|warn %}
106
 
              <span style="float: right;">
107
 
                <img src="media/warning.png"
108
 
                     title="In review queue for more than 1 day" />
109
 
              </span>
 
96
              <img class="warning" src="media/warning.png"
 
97
                   title="In review queue for more than 1 day" />
110
98
            {% endif %}
 
99
              <div class="project">{{ bug.project }}</div>
 
100
            </div>
 
101
            <div>
111
102
              {{ bug.title }}
112
103
            </div>
113
104
          {% if bug.branch %}
114
 
            <br/>
115
105
            <div class="merge-proposal"><a href="{{ bug|branch_url }}">{{ bug.branch|branch_name }}</a></div>
116
106
          {% endif %}
117
107
          </div>
123
113
 
124
114
        {% for bug in story.needs_testing %}
125
115
          <div class="tile">
126
 
            <div class="project">{{ bug.project }}</div>
127
116
          {% if bug.assignee %}
128
117
            <span class="assignee">{{ bug.assignee }}</span>
129
118
          {% endif %}
130
119
            <a href="https://bugs.launchpad.net/bugs/{{ bug.id }}">#{{ bug.id }}</a> <span class="{{ bug.importance|importance_css_class }}">{{ bug.importance }}</span>
131
120
            <br/>
132
 
            <br/>
 
121
            <div class="project">{{ bug.project }}</div>
133
122
            <div>{{ bug.title }}</div>
134
123
          {% if bug.branch %}
135
 
            <br/>
136
124
            <div class="merge-proposal"><a href="{{ bug|branch_url }}">{{ bug.branch|branch_name }}</a></div>
137
125
          {% endif %}
138
126
          </div>
144
132
 
145
133
        {% for bug in story.verified %}
146
134
          <div class="tile">
147
 
            <div class="project">{{ bug.project }}</div>
148
135
          {% if bug.assignee %}
149
136
            <span class="assignee">{{ bug.assignee }}</span>
150
137
          {% endif %}
151
138
            <a href="https://bugs.launchpad.net/bugs/{{ bug.id }}">#{{ bug.id }}</a> <span class="{{ bug.importance|importance_css_class }}">{{ bug.importance }}</span>
152
139
            <br/>
153
 
            <br/>
 
140
            <div class="project">{{ bug.project }}</div>
154
141
            <div>{{ bug.title }}</div>
155
142
          {% if bug.branch %}
156
 
            <br/>
157
143
            <div class="merge-proposal"><a href="{{ bug|branch_url }}">{{ bug.branch|branch_name }}</a></div>
158
144
          {% endif %}
159
145
          </div>
165
151
 
166
152
        {% for bug in story.released %}
167
153
          <div class="tile">
168
 
            <div class="project">{{ bug.project }}</div>
169
154
          {% if bug.assignee %}
170
155
            <span class="assignee">{{ bug.assignee }}</span>
171
156
          {% endif %}
172
157
            <a href="https://bugs.launchpad.net/bugs/{{ bug.id }}">#{{ bug.id }}</a> <span class="{{ bug.importance|importance_css_class }}">{{ bug.importance }}</span>
173
158
            <br/>
174
 
            <br/>
 
159
            <div class="project">{{ bug.project }}</div>
175
160
            <div>{{ bug.title }}</div>
176
161
          {% if bug.branch %}
177
 
            <br/>
178
162
            <div class="merge-proposal"><a href="{{ bug|branch_url }}">{{ bug.branch|branch_name }}</a></div>
179
163
          {% endif %}
180
164
          </div>