Skip to content
Snippets Groups Projects
Commit 2ab0fad8 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Remove options for attachments size limit, compression and formats from GUI of...

Remove options for attachments size limit, compression and formats from GUI of reporting settings. (Redmine issue: #6255)
parent 5f3e103b
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,6 @@
{{ macros_form.render_form_item_select(form.mode) }}
{{ macros_form.render_form_item_select(form.attachments) }}
{{ macros_form.render_form_item_default(form.emails) }}
{{ macros_form.render_form_item_default(form.template) }}
......@@ -39,14 +37,10 @@
{{ macros_form.render_form_item_select(form.timezone) }}
{{ macros_form.render_form_item_select(form.max_attachment_size) }}
{{ macros_form.render_form_item_radiobutton(form.mute) }}
{{ macros_form.render_form_item_radiobutton(form.redirect) }}
{{ macros_form.render_form_item_radiobutton(form.compress) }}
<hr>
{{ macros_form.render_form_item_radiobutton(form.timing) }}
......
......@@ -86,44 +86,6 @@
{{ system_default_repsettings.mode }}
</td>
</tr>
<tr>
<th>
{{ _('Report attachments') }}:
</th>
<td>
{%- if item.attachments is not none %}
{{ item.attachments }}
{%- else %}
{{ _('<< system default >>') }}
{%- endif %}
</td>
<td>
{{ system_default_repsettings.attachments }}
</td>
</tr>
<tr>
<th>
{{ _('Attachment size limit') }}:
</th>
<td>
{%- if item.max_attachment_size is not none %}
{%- if item.max_attachment_size %}
{{ babel_format_bytes(item.max_attachment_size) }}
{%- else %}
{{ _('<< no limit >>') }}
{%- endif %}
{%- else %}
{{ _('<< system default >>') }}
{%- endif %}
</td>
<td>
{%- if system_default_repsettings.max_size %}
{{ babel_format_bytes(system_default_repsettings.max_size) }}
{%- else %}
{{ _('<< no limit >>') }}
{%- endif %}
</td>
</tr>
<tr>
<th>
{{ _('Report template') }}:
......@@ -199,21 +161,6 @@
{{ macros_site.render_label_item_state(system_default_repsettings.redirect, True) }}
</td>
</tr>
<tr>
<th>
{{ _('Attachment compression') }}:
</th>
<td>
{%- if item.compress is not none %}
{{ macros_site.render_label_item_state(item.compress, True) }}
{%- else %}
{{ _('<< system default >>') }}
{%- endif %}
</td>
<td>
{{ macros_site.render_label_item_state(system_default_repsettings.compress, True) }}
</td>
</tr>
<tr>
<th>
{{ _('Reporting timing') }}:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment