fix popover doc for remote repository

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1386520 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-09-17 09:15:07 +00:00
parent 9bf296bda5
commit e4022bac66
3 changed files with 9 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Maria Odea Ching
Olivier Lamy
------
2011-09-29
2012-09-17
------
~~ Licensed to the Apache Software Foundation (ASF) under one

View File

@ -728,6 +728,7 @@ define("archiva.repositories",["jquery","i18n","jquery.tmpl","bootstrap","jquery
activateRemoteRepositoryEditTab();
mainContent.find("#remote-repository-edit-li a").html($.i18n.prop('edit'));
activateRemoteRepositoryFormValidation();
activatePopoverDoc();
}
})
@ -979,6 +980,7 @@ define("archiva.repositories",["jquery","i18n","jquery.tmpl","bootstrap","jquery
viewModel.networkProxies(mapNetworkProxies(data));
ko.applyBindings(viewModel,$("#main-content" ).find("#remote-repository-edit").get(0));
activateRemoteRepositoryFormValidation();
activatePopoverDoc();
}
})
}

View File

@ -362,6 +362,7 @@
<th>${$.i18n.prop('edit')}</th>
<th>${$.i18n.prop('delete')}</th>
<th>${$.i18n.prop('modified')}</th>
<th>${$.i18n.prop('description')}</th>
<th>${$.i18n.prop('remoterepository.downloadremoteindex')}</th>
</tr>
</thead>
@ -483,6 +484,11 @@
<label class="control-label" for="cronExpression">${$.i18n.prop('cronExpression')}</label>
<div class="controls">
<input type="text" id="cronExpression" name="cronExpression" size="40" data-bind="value: remoteRepository.cronExpression"/>
<a class="btn btn-warning btn-mini popover-doc" id="cronExpression-info-button"
data-original-title="${$.i18n.prop('cronExpression.help.title')}"
data-content="${$.i18n.prop('cronExpression.help.content')}">
<i class="icon-question-sign icon-white"></i>
</a>
</div>
</div>
<div class="control-group">