mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 08:15:13 +03:00
EventManager: add content type option for email config
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -474,6 +474,16 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row action-type action-smtp">
|
||||
<label for="idEmailContentType" class="col-sm-2 col-form-label">Email content type</label>
|
||||
<div class="col-sm-10">
|
||||
<select class="form-control selectpicker" id="idEmailContentType" name="email_content_type">
|
||||
<option value="0" {{ if eq .Action.Options.EmailConfig.ContentType 0 }}selected{{end}}>Text/plain</option>
|
||||
<option value="1" {{ if eq .Action.Options.EmailConfig.ContentType 1 }}selected{{end}}>Text/html</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row action-type action-smtp">
|
||||
<label for="idEmailBody" class="col-sm-2 col-form-label">Email body</label>
|
||||
<div class="col-sm-10">
|
||||
|
||||
Reference in New Issue
Block a user