27 regels
2.1 KiB
Twig
27 regels
2.1 KiB
Twig
{% block usermanager_admin_requ_noticelistcount %}
|
|
<dl class="{{ blActionRestriction }}">
|
|
{% include "@d3usermanager/admin/inc/d3usermanager_activeswitch.html.twig" with {oActionRequ: oRequ, blActionRestriction: blActionRestriction, readonly: readonly} %}
|
|
<dd>
|
|
{% if oView.isEditMode() %}
|
|
{% block usermanager_admin_requ_noticelistcount_editor %}
|
|
<SELECT id="RequNoticeListCountType" class="editinput" name="value[sNoticeListCountType]" size="1" {{ blActionRestriction }} {{ readonly }}>
|
|
{% for type, translation in oRequ.getTypeList() %}
|
|
<option value="{{ type }}" {% if edit.getValue('sNoticeListCountType') == type %}selected{% endif %}>{{ translate({ ident: translation }) }}</option>
|
|
{% endfor %}
|
|
</SELECT>
|
|
<input id="RequNoticeListCountValue" style="text-align: right;" class="edittext ext_edittext" type="text" size="5" maxlength="4" name="value[sNoticeListCountValue]" value='{{ edit.getValue('sNoticeListCountValue') }}' {{ blActionRestriction }} {{ readonly }}>
|
|
<label for="RequNoticeListCountValue">{{ translate({ ident: "D3_USERMANAGER_REQU_NOTICELISTCOUNT_VALUE" }) }}</label>
|
|
{% endblock %}
|
|
{% else %}
|
|
{% block usermanager_admin_requ_noticelistcount_viewer %}
|
|
{% for type, translation in oRequ.getTypeList() %}
|
|
{% if edit.getValue('sNoticeListCountType') == type %}{{ translate({ ident: translation }) }}{% endif %}
|
|
{% endfor %}
|
|
{{ edit.getValue('sNoticeListCountValue') }} {{ translate({ ident: "D3_USERMANAGER_REQU_NOTICELISTCOUNT_VALUE" }) }}
|
|
{% endblock %}
|
|
{% endif %}
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_USERMANAGER_REQU_NOTICELISTCOUNT_DESC"), 'sHelpText': help_text("D3_USERMANAGER_REQU_NOTICELISTCOUNT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
{% endblock %} |