Skip to content
Snippets Groups Projects
Commit cf82651f authored by vtigerosm's avatar vtigerosm
Browse files

Show license checkbox if module has license. (Fixes #516)

parents 08e99fd1 024b9cbd
No related merge requests found
......@@ -70,6 +70,11 @@
<input type="hidden" name="module_import_file" value="{$MODULEIMPORT_FILE}">
<input type="hidden" name="module_import_type" value="{$MODULEIMPORT_TYPE}">
<input type="hidden" name="module_import_name" value="{$MODULEIMPORT_NAME}">
{if $need_license_agreement eq 'true'}
<input type="checkbox" class="acceptLicense"> {vtranslate('LBL_LICENSE_ACCEPT_AGREEMENT', $QUALIFIED_MODULE)}
{/if}
{else}
<br><br><span class="alert-info" style="padding: 4px 10px;">{vtranslate('LBL_DELETE_EXIST_DIRECTORY', $QUALIFIED_MODULE)}</span>
{/if}
......
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