mirror of https://github.com/apache/archiva.git
[MRM-1714] using LDAP can be configurable with the ui
add i18n and cleanup git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1413072 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b3fec01ba6
commit
377cc8e725
|
@ -548,5 +548,7 @@ menu.docs=Documentation
|
|||
#runtime configuration
|
||||
runtime-configuration.title=Archiva Runtime Configuration
|
||||
runtime-configuration.usermanager.label=User Manager Implementation
|
||||
archiva-runtime-configuration.updated=Archiva Runtime Configuration updated.
|
||||
archiva-runtime-configuration.updated=Archiva Runtime Configuration updated to '{0}'
|
||||
archiva.redback.usermanager.ldap=LDAP User Manager.
|
||||
archiva.redback.usermanager.jdo=Database User Manager.
|
||||
|
||||
|
|
|
@ -1174,7 +1174,7 @@ define("archiva.general-admin",["jquery","i18n","utils","jquery.tmpl","knockout"
|
|||
data:ko.toJSON(self.archivaRuntimeConfiguration),
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
var message=$.i18n.prop('archiva-runtime-configuration.updated');
|
||||
var message=$.i18n.prop('archiva-runtime-configuration.updated',self.archivaRuntimeConfiguration().userManagerImpl());
|
||||
displaySuccessMessage(message);
|
||||
},
|
||||
error: function(data) {
|
||||
|
|
|
@ -905,8 +905,6 @@
|
|||
</label>
|
||||
<div class="controls">
|
||||
<select data-bind="options: userManagerImplementationInformations,optionsValue: 'beanId', optionsText: 'description', value: archivaRuntimeConfiguration().userManagerImpl, optionsCaption: 'Choose...'"></select>
|
||||
<input type="text" id="userManagerImpl" name="userManagerImpl" class="input-small required"
|
||||
data-bind="value: archivaRuntimeConfiguration().userManagerImpl"/>
|
||||
</div>
|
||||
</div>
|
||||
<button data-bind="click: saveArchivaRuntimeConfiguration" id="archiva-runtime-configuration-save" class="btn">${$.i18n.prop('save')}</button>
|
||||
|
|
Loading…
Reference in New Issue