Commit cad688f0 authored by Reed Loden's avatar Reed Loden

Bug 529433 - "Show name and full e-mail in a tooltip for flag setters and requestees"

[r=LpSolit a=LpSolit]
parent ddc72fee
...@@ -109,10 +109,22 @@ function toggle_display(link) { ...@@ -109,10 +109,22 @@ function toggle_display(link) {
<i>no flags</i> <i>no flags</i>
[% ELSE %] [% ELSE %]
[% FOREACH flag = attachment.flags %] [% FOREACH flag = attachment.flags %]
[% flag.setter.nick FILTER html %]: [% IF user.id %]
<span title="[% flag.setter.identity FILTER html %]">[% flag.setter.nick FILTER html %]</span>:
[% ELSIF flag.setter.name %]
<span title="[% flag.setter.name FILTER html %]">[% flag.setter.nick FILTER html %]</span>:
[% ELSE %]
[% flag.setter.nick FILTER html %]:
[% END %]
[%+ flag.type.name FILTER html FILTER no_break %][% flag.status %] [%+ flag.type.name FILTER html FILTER no_break %][% flag.status %]
[%+ IF flag.status == "?" && flag.requestee %] [%+ IF flag.status == "?" && flag.requestee %]
([% flag.requestee.nick FILTER html %]) [% IF user.id %]
(<span title="[% flag.requestee.identity FILTER html %]">[% flag.requestee.nick FILTER html %]</span>)
[% ELSIF flag.requestee.name %]
(<span title="[% flag.requestee.name FILTER html %]">[% flag.requestee.nick FILTER html %]</span>)
[% ELSE %]
([% flag.requestee.nick FILTER html %])
[% END %]
[% END %]<br> [% END %]<br>
[% END %] [% END %]
[% END %] [% END %]
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
[% FOREACH flag = type.flags %] [% FOREACH flag = type.flags %]
<tr> <tr>
<td> <td>
[% flag.setter.nick FILTER html %]: <span title="[% flag.setter.identity FILTER html %]">[% flag.setter.nick FILTER html %]</span>:
</td> </td>
<td> <td>
<label title="[% type.description FILTER html %]" <label title="[% type.description FILTER html %]"
...@@ -147,10 +147,18 @@ ...@@ -147,10 +147,18 @@
<p><b>Flags:</b></p> <p><b>Flags:</b></p>
[% header_displayed = 1 %] [% header_displayed = 1 %]
[% END %] [% END %]
[% flag.setter.nick FILTER html %]: [% IF flag.setter.name %]
<span title="[% flag.setter.name FILTER html %]">[% flag.setter.nick FILTER html %]</span>:
[% ELSE %]
[% flag.setter.nick FILTER html %]:
[% END %]
[%+ type.name FILTER html FILTER no_break %][% flag.status %] [%+ type.name FILTER html FILTER no_break %][% flag.status %]
[% IF flag.requestee %] [% IF flag.requestee %]
([% flag.requestee.nick FILTER html %]) [% IF flag.requestee.name %]
(<span title="[% flag.requestee.name FILTER html %]">[% flag.requestee.nick FILTER html %]</span>)
[% ELSE %]
([% flag.requestee.nick FILTER html %])
[% END %]
[% END %]<br> [% END %]<br>
[% END %] [% END %]
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment