END;
bugid = bug.id;
- # this is used in a few places
+ # these are used in a few places
is_cced = bug.cc.contains(user.login);
+ unassigned = (bug.assigned_to.login == "nobody@mozilla.org")
+ || (bug.assigned_to.login.search('\.bugs$'));
# custom fields that have custom rendering, or should not be rendered
rendered_custom_fields = [
in [% firefox_fixed_version || bug.target_milestone FILTER html %]
[% ELSIF bug.dup_id %]
of [% terms.bug _ " $bug.dup_id" FILTER bug_link(bug.dup_id) FILTER none %]
+ [% ELSIF bug.resolution == "" %]
+ <div id="status-assignee">
+ [%
+ IF unassigned;
+ "Unassigned";
+ ELSE;
+ "Assigned to ";
+ INCLUDE bug_modal/user.html.tmpl u=bug.assigned_to nick_only=1;
+ END;
+ %]
+ </div>
[% END %]
[% IF needinfo.size %]
<div id="status-needinfo">
[%# === people === %]
[%
- unassigned = (bug.assigned_to.login == "nobody@mozilla.org")
- || (bug.assigned_to.login.search('\.bugs$'));
sub = [];
sub.push("Reporter: " _ bug.reporter.moz_nick);
sub.push(unassigned ? "Unassigned" : "Assigned: " _ bug.assigned_to.moz_nick);
padding-top: 4px;
}
-#status-needinfo, #status-needinfo .vcard {
+#status-assignee, #status-assignee .vcard, #status-needinfo, #status-needinfo .vcard {
display: inline;
}
+#status-assignee, #status-needinfo {
+ margin-left: 8px;
+}
+
#duplicate-container, #duplicate-actions,
#bottom-duplicate-container, #bottom-duplicate-actions {
display: table-cell;