mirror of
https://github.com/apache/archiva.git
synced 2025-03-08 01:43:06 +00:00
use warning label for modal confirn delete repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293955 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c77fd573a8
commit
7da60c31dd
@ -99,6 +99,7 @@ remoterepository.download.remote.confirm=Are you sure to download Remote Index ?
|
||||
remoterepository.download.remote.now=Immediate Download ?
|
||||
remoterepository.download.remote.full=Full download ?
|
||||
remoterepository.download.remote.scheduled=Download Remote Index of repository {0} scheduled.
|
||||
remoterepository.delete.confirm=Are you sure to delete Remote Repository {0} ?
|
||||
|
||||
|
||||
#network proxy
|
||||
|
@ -705,7 +705,8 @@ $(function() {
|
||||
}
|
||||
)}, $.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));
|
||||
|
||||
}
|
||||
|
||||
|
@ -252,12 +252,7 @@ <h2><img src="images/system-file-manager-32-32.png"/>${$.i18n.prop('administrati
|
||||
|
||||
<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>
|
||||
@ -269,14 +264,15 @@ <h2><img src="images/system-file-manager-32-32.png"/>${$.i18n.prop('administrati
|
||||
</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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user