summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl6
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl3
2 files changed, 6 insertions, 3 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index 1870d6b5a..024f4f6a5 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -195,7 +195,11 @@
(NeedInfo from
[%+
IF needinfo.size == 1;
- INCLUDE bug_modal/user.html.tmpl u=needinfo.0.requestee nick_only=1;
+ IF needinfo.0.requestee;
+ INCLUDE bug_modal/user.html.tmpl u=needinfo.0.requestee nick_only=1;
+ ELSE;
+ "anyone";
+ END;
ELSE;
" " _ needinfo.size _ " people";
END;
diff --git a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
index 61e82bf2a..70e7e5c3d 100644
--- a/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/flags.html.tmpl
@@ -98,7 +98,7 @@
<tr>
<td class="flag-setter">
[% IF f %]
- [% INCLUDE bug_modal/user.html.tmpl u=flag.setter nick_only=1 %]
+ [% INCLUDE bug_modal/user.html.tmpl u=f.setter nick_only=1 %]
[% ELSIF t.flags.size %]
addl.
[% END %]
@@ -151,7 +151,6 @@
value = flag_requestee
emptyok = flag_empty_ok
classes = [ "requestee" ]
- disabled = !can_edit
%]
</div>
<td>