}
)}, $.i18n.prop('ok'),
$.i18n.prop('cancel'),
- $.i18n.prop('remoterepository.delete.confirm',remoteRepository.id()),null);
+ $.i18n.prop('remoterepository.delete.confirm',remoteRepository.id()),
+ $("#remote-repository-delete-modal-tmpl").tmpl(remoteRepository));
}
<script id="managed-repository-delete-warning-tmpl" type='text/x-jquery-tmpl'>
<div>
- <a class="close" href="#">×</a>
- <div class="alert-message warning">
- <p>
- <strong>${$.i18n.prop('warning.not.undone.operation')}</strong>
- </p>
- </div>
+ <span class="label label-warning">${$.i18n.prop('warning.not.undone.operation')}</span>
<div>
<span><strong>${$.i18n.prop('managedrepository.delete.warning.message')}</strong>.</span>
<div>${$.i18n.prop('id')}: ${id()}</div>
</div>
</script>
+<script type="text/html" id="remote-repository-delete-modal-tmpl">
+ <div>
+ <span class="label label-warning">${$.i18n.prop('warning.not.undone.operation')}</span>
+ </div>
+</script>
+
<script id="managed-repository-location-warning-tmpl" type='text/x-jquery-tmpl'>
<div>
- <a class="close" href="#">×</a>
- <div class="alert-message warning">
- <p>
- <strong>${$.i18n.prop('managedrepository.location.already.exists')}</strong>
- </p>
- </div>
+ <span class="label label-warning">${$.i18n.prop('managedrepository.location.already.exists')}</span>
<div>
<span><strong>${$.i18n.prop('managedrepository.location.already.exists.warning.message')}</strong>.</span>
<div>${$.i18n.prop('id')}: ${id()}</div>