Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect.js: clarify the connect window with an abbr element about what logging into services means #49

Merged
merged 1 commit into from Nov 2, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 16 additions & 2 deletions js/ui/panes/connect.js
Expand Up @@ -203,7 +203,10 @@ qwebirc.ui.Panes.Connect.pclass = new Class({

var d1 = new Element("td");
if(label)
d1.set("text", label);
if($type(label) == "element")
d1.appendChild(label)
else
d1.set("text", label);
r.appendChild(d1);

var d2 = new Element("td");
Expand All @@ -226,7 +229,18 @@ qwebirc.ui.Panes.Connect.pclass = new Class({
var srvbutton = new Element("input");
srvbutton.set("type", "checkbox");
srvbutton.set("checked", false);
createRow("Login to Services:", srvbutton);
var loginLabel = new Element("div");
var loginText = new Element("span");
loginText.set("text", "Login to ");
loginLabel.appendChild(loginText);
var loginAbbr = new Element("abbr");
loginAbbr.set("text", "Services");
loginAbbr.set("title", "If you've previously registered for a services account, you may log in here.");
loginLabel.appendChild(loginAbbr);
var loginPrompt = new Element("span");
loginPrompt.set("text", ":");
loginLabel.appendChild(loginPrompt);
createRow(loginLabel, srvbutton);

var user = new Element("input");
var userRow = createRow("Username:", user, {})[0];
Expand Down