diff --git a/app/templates/_helpers.html b/app/templates/_helpers.html index cf2801180cdb1b7ec8cf9574acb0dbe0367ffb7d..90df01d4d801a612546d6a958d049ed628a0b85b 100644 --- a/app/templates/_helpers.html +++ b/app/templates/_helpers.html @@ -184,7 +184,7 @@ </div> {%- endmacro %} -{% macro submit_button_with_confirmation(title, message) -%} +{% macro submit_button_with_confirmation(title, message, message2) -%} <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#submitModal" }}> {{ title }} </button> @@ -194,7 +194,7 @@ <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> - <h6 class="modal-title">{{ message }}</h6> + <h6 class="modal-title">{{ message }} {% if message2 is defined %}<br/><br/><br/> {{ message2 }} {% endif %}</h6> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> diff --git a/app/templates/network/view_host.html b/app/templates/network/view_host.html index 0e86bd81ae86bcb26944fb377411f24622cbd5fe..8c53b9d46feabe386b7d9396371407fe367ec4ce 100644 --- a/app/templates/network/view_host.html +++ b/app/templates/network/view_host.html @@ -80,7 +80,7 @@ {% if current_user.is_admin %} {{ render_field(form.skip_post_install_job, label_size='5', input_size='7') }} {% endif %} - {{ submit_button_with_confirmation('Create ' + vm_type, 'Do you really want to create the ' + vm_type + ' ' + host.name + '?') }} + {{ submit_button_with_confirmation('Create ' + vm_type, 'Do you really want to create the ' + vm_type + ' ' + host.name + '?', 'Note: If you are experiencing issues with the VM, pressing "Create VM" once more will not resolve anything and you should instead contact the INFRA team or create a JIRA ticket to resolve this.') }} </form> </div> {% elif host.device_type.name in config.ALLOWED_SET_BOOT_PROFILE_DEVICE_TYPES %}