diff options
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r-- | template/en/default/attachment/create.html.tmpl | 11 | ||||
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 6 |
2 files changed, 17 insertions, 0 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index e566b428e..05223ede4 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -119,6 +119,17 @@ TUI_hide_default('attachment_text_field'); [% Hook.process('form_before_submit') %] + [% IF Param('minor_update_group') && user.in_group(Param('minor_update_group')) %] + <tr> + <th> </th> + <td> + <input type="checkbox" name="minor_update" value="1"> + <label class="" for="minor_update"> + This is a minor update (do not send email) + </label> + </td> + </tr> + [% END %] <tr> <th> </th> <td><input type="submit" id="create" value="Submit"></td> diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 184cdde05..d2554dfb8 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -283,6 +283,12 @@ [% IF user.id %] <div id="update_container"> + [% IF Param('minor_update_group') && user.in_group(Param('minor_update_group')) %] + <input type="checkbox" name="minor_update" value="1"> + <label class="" for="minor_update"> + This is a minor update (do not send email) + </label><br> + [% END %] <input type="submit" value="Submit" id="update"> </div> [% END %] |