Bug 87696
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1439 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
5288412d08
commit
cc3e56e884
|
@ -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';
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue