* Added short text to Members.add_action()
* Changed order of roles in $Members.main skin * Removed obsolete addRepository() calls in Global.js
This commit is contained in:
parent
78fb0eddfa
commit
86145cd8f7
3 changed files with 5 additions and 7 deletions
|
|
@ -39,11 +39,8 @@ app.addRepository("modules/helma/Search.js");
|
|||
app.addRepository("modules/helma/Zip.js");
|
||||
|
||||
app.addRepository("modules/jala/code/Date.js");
|
||||
//app.addRepository("modules/jala/code/Form.js");
|
||||
app.addRepository("modules/jala/code/HopObject.js");
|
||||
app.addRepository("modules/jala/code/I18n.js");
|
||||
//app.addRepository("modules/jala/code/IndexManager.js");
|
||||
//app.addRepository("modules/jala/code/ListRenderer.js");
|
||||
app.addRepository("modules/jala/code/ListRenderer.js");
|
||||
app.addRepository("modules/jala/code/Utilities.js");
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
<% gettext Show prefix="... " %>
|
||||
<% members.link . all %>
|
||||
<% members.link owners prefix="| " %>
|
||||
<% members.link contributors prefix="| " %>
|
||||
<% members.link managers prefix="| " %>
|
||||
<% members.link contributors prefix="| " %>
|
||||
<% members.link subscribers prefix="| " %>
|
||||
<% response.pager %>
|
||||
<% response.list %>
|
||||
|
|
@ -173,6 +173,9 @@ tabindex="4"><% gettext Save %></button>
|
|||
</form>
|
||||
|
||||
<% #add %>
|
||||
<p class="storyTitle"><% response.title %></p>
|
||||
<div>Enter a search term to display a list of matching users.</div>
|
||||
<div class="small">You can use the asterisk * as wildcard.</div><br />
|
||||
<form method="post" action="<% response.action %>">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -322,11 +322,9 @@ Members.prototype.add_action = function() {
|
|||
app.log(ex);
|
||||
}
|
||||
res.redirect(this.href());
|
||||
} else {
|
||||
res.message = gettext("Enter a search term to display a list of matching users.");
|
||||
}
|
||||
res.data.action = this.href(req.action);
|
||||
res.data.title = gettext('Add member to {0}', this._parent.title);
|
||||
res.data.title = gettext('Add member to site {0}', this._parent.title);
|
||||
res.data.body = this.renderSkinAsString("$Members#add");
|
||||
res.handlers.site.renderSkin("Site#page");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue