Changeset 214401 in webkit


Ignore:
Timestamp:
Mar 25, 2017 11:25:47 AM (7 years ago)
Author:
ddkilzer@apple.com
Message:

[Bugzilla] Add a checkbox to add self to the CC list when creating or editing an attachment
<https://webkit.org/b/124047>

Original patch by Csaba Osztrogonác.

Reviewed by Daniel Bates.

  • template/en/default/attachment/reviewform.html.tmpl:

Add template for "Add me to CC list" by default. This
adds the reviewer to the CC list whether the "Preview"
or "Publish" button is used. Only the "Preview" button
allows the checkbox to be unchecked, though.

Location:
trunk/Websites/bugs.webkit.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/bugs.webkit.org/ChangeLog

    r214332 r214401  
     12017-03-25  David Kilzer  <ddkilzer@apple.com>
     2
     3        [Bugzilla] Add a checkbox to add self to the CC list when creating or editing an attachment
     4        <https://webkit.org/b/124047>
     5
     6        Original patch by Csaba Osztrogonác.
     7
     8        Reviewed by Daniel Bates.
     9
     10        * template/en/default/attachment/reviewform.html.tmpl:
     11        Add template for "Add me to CC list" by default.  This
     12        adds the reviewer to the CC list whether the "Preview"
     13        or "Publish" button is used.  Only the "Preview" button
     14        allows the checkbox to be unchecked, though.
     15
    1162017-03-23  David Kilzer  <ddkilzer@apple.com>
    217
  • trunk/Websites/bugs.webkit.org/template/en/default/attachment/reviewform.html.tmpl

    r187605 r214401  
    8787                                       flag_types = attachment.flag_types %]<br>
    8888    [% END %]
     89
     90    [% IF NOT attachment.bug.cc || NOT attachment.bug.cc.contains(user.login) %]
     91      <input type="checkbox" id="addselfcc" name="addselfcc"
     92        [%~ ' checked="checked"'
     93            IF user.settings.state_addselfcc.value == 'always'
     94               || (!attachment.bug.user.has_any_role
     95                  && user.settings.state_addselfcc.value == 'cc_unless_role') %]>
     96      <label for="addselfcc">Add me to CC list</label>
     97    [% END %]
    8998</td>
    9099<td>
Note: See TracChangeset for help on using the changeset viewer.