use realname in newchangedmail, fix error in dependency-tree

3col
Vitaliy Filippov 2015-01-14 09:37:33 +03:00
parent b6917c7f08
commit bdcc54eaa4
2 changed files with 4 additions and 4 deletions

View File

@ -216,8 +216,8 @@
[%# Limit entry form: the button can not do anything when total depth
is less than two, so disable it %]
<input name="maxdepth" size="4" maxlength="4" value="[%
maxdepth /> 0 && maxdepth <= realdepth ? maxdepth : ""
%]">
maxdepth > 0 && maxdepth <= realdepth ? maxdepth : ""
%]" />
<input name="id" type="hidden" value="[% bugid %]" />
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]" />
<noscript>
@ -238,7 +238,7 @@
[% END %]
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]" />
<input type="submit" id="increase_depth" value="&nbsp;&gt;&nbsp;"
[% "disabled" IF realdepth < 2 || !maxdepth || maxdepth />= realdepth %]>
[% "disabled" IF realdepth < 2 || !maxdepth || maxdepth >= realdepth %] />
</form>
</td>

View File

@ -174,7 +174,7 @@ body { font-family: Segoe UI, sans-serif; }
<p><a href="[%+ urlbase %]show_bug.cgi?id=[% bug.id %]#c[% comment.count %]">Comment #[% comment.count %]</a> from
<span class="vcard">
<a class="fn email" href="[% Param('user_mailto') %][% comment.author.email FILTER html %]">
[% (comment.author.name || comment.author.login) FILTER html %]</a>
[% (comment.author.realname || comment.author.login) FILTER html %]</a>
</span>
[% comment.bug_when FILTER time(undef, to_user.timezone) %]</p>
<div class="bz_comment_text">