Bug 87696

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1439 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2011-10-21 16:07:16 +00:00
parent 5288412d08
commit cc3e56e884
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ function toggle_wtonly(id, initial_wtonly, img)
var mark = f.value == '1';
f.value = mark ? '' : '1';
mark = initial_wtonly ? mark : !mark;
img.src = 'images/clock' + (mark ? 'x' : '') + '.gif';
img.src = 'images/clock' + (mark ? '' : 'x') + '.gif';
img.alt = mark ?
'Comment is marked worktime-only. Click to mark it as normal, then click Save Changes' :
'Comment is marked as normal. Click to mark it as worktime-only, then click Save Changes';

View File

@ -86,14 +86,14 @@
[% IF wt_btn %]
<span class="bz_comment_actions">
[% IF wt_only %]
<img src="images/clockx.gif" width="16" height="16"
<img src="images/clock.gif" width="16" height="16"
alt="Comment is marked as worktime-only. Click to mark it as normal, then click Save Changes"
title="Comment is marked as worktime-only. Click to mark it as normal, then click Save Changes"
style="cursor: pointer; vertical-align: middle"
onclick="toggle_wtonly([% comment.id %],1,this)" />
<input type="hidden" id="cmt_normal_[% comment.id %]" name="cmt_normal_[% comment.id %]" value="" />
[% ELSIF comment.type == constants.CMT_NORMAL %]
<img src="images/clock.gif" width="16" height="16"
<img src="images/clockx.gif" width="16" height="16"
alt="Comment is marked as normal. Click to mark it as worktime-only, then click Save Changes"
title="Comment is marked as normal. Click to mark it as worktime-only, then click Save Changes"
style="cursor: pointer; vertical-align: middle"