more i18n

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1220778 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-12-19 14:42:58 +00:00
parent 04934dc294
commit c1e8534e43
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
<h4 class="brand"><a href="index.html">Archiva</a></h4>
<ul class="nav secondary-nav">
<li id="create-admin-link" style="display: none">
<a href="#" onclick="adminCreateBox();">Admin User Creation</a>
<a href="#" onclick="adminCreateBox();">${$.i18n.prop('create.admin.page.link')}</a>
</li>
<li id="login-link" style="display: none">
<a href="#" onclick="loginBox();">
@ -14,7 +14,7 @@
</a>
</li>
<li id="change-password-link" style="">
<a href="#" onclick="editUserDetailsBox();">Edit Informations</a>
<a href="#" onclick="editUserDetailsBox();">${$.i18n.prop('edit.details')}</a>
</li>
<li id="logout-link" style="display: none">
<a href="#" onclick="logout();">

View File

@ -10,13 +10,13 @@
<div class="clearfix">
<label for="user-login-form-username">${username}</label>
<div class="input">
<input type="text" id="user-login-form-username" name="user-login-form-username" class="required" value="admin"/>
<input type="text" id="user-login-form-username" name="user-login-form-username" class="required" />
</div>
</div>
<div class="clearfix">
<label for="user-login-form-password">${password}</label>
<div class="input">
<input type="password" id="user-login-form-password" name="user-login-form-password" class="required" value="admin123"/>
<input type="password" id="user-login-form-password" name="user-login-form-password" class="required" />
</div>
</div>
</fieldset>

View File

@ -200,7 +200,7 @@ $(function() {
* view for admin user creation
*/
adminUserViewModel=function() {
this.user = new user("admin","aze123","aze123", "the admin");
this.user = new user("admin","","", "the administrator");
}
/**